Improve error handling around sending emails, create smtp server for each email