Minor Improvement:
- SMTP error details are now included in the history logs if sending email encountered errors via remote mail server.