How can I force resend emails?

I have read intro post: About the Installation Issues category
I have read the tutorials, help and searched for similar issues
I provide relevant information about my server (component names and versions, etc.)
I provide a copy of my logs and healthcheck
I describe the steps I have taken to trouble shoot the problem
I describe the steps on how to reproduce the issue

So some of my emails are failing purely due to timeout/temporary errors with my SMTP provider, and I need to resend the failed emails. Is there some command I could run in order to force the sending of these emails?


Yes, you can try to run

sudo su -s /bin/bash -c "/usr/share/php/passbolt/bin/cake sender" www-data

The send_tries in the email_queue table in the database remain at 4, and no email is actually delivered (that was blocked earlier). The SMTP configuration works, as I have received the test email and various other emails.