Is your feature request related to a problem? Please describe.
When email sending fails in the mail processor, the log only shows a generic message such as "Could not send email: id=...". It does not show the actual error details from SMTP or SES. This makes it hard to investigate configuration problems, authentication errors, and temporary service failures.
Describe the solution you'd like
Add detailed error logging when email sending fails in the mail processor. The log should keep the current mail ID information and also include the exception message or stack trace so operators can identify the cause of the failure more easily.
Is your feature request related to a problem? Please describe.
When email sending fails in the mail processor, the log only shows a generic message such as "Could not send email: id=...". It does not show the actual error details from SMTP or SES. This makes it hard to investigate configuration problems, authentication errors, and temporary service failures.
Describe the solution you'd like
Add detailed error logging when email sending fails in the mail processor. The log should keep the current mail ID information and also include the exception message or stack trace so operators can identify the cause of the failure more easily.