Add exception handling and stdout/err logging for email
Merge pull request #214 from alphagov/migration-email-exception-handling

Add exception handling and stdout/err logging for email