Add SMTP info to exception if email sending fails.