This is only a very nasty workaround for this issue… Create a cronjob that runs
$ bench execute frappe.email.queue.flush
so for every minute:
$ sudo crontab -e
* * * * * cd /home/frappe/frappe-bench && bench execute frappe.email.queue.flush
(can actually be used to speed up the mail sending queue
) Still looking for a proper solution…