Improved exception-handling of mailer