Hi,
I was trying to send emails from my custom app using
frappe.sendmail(recipients=recipients, subject=subject, message=message,attachments=attachment)
App used to do a particular operation and then send 3 emails to same receipient. When i check ‘email queue’ in ERPNext at times only 2 email used to get logged, 1 of them didn’t queue up.
I was able to solve this by adding value for now parameter
frappe.sendmail(recipients=recipients, subject=subject, message=message,attachments=attachment,now=True)