added a mailer to send notifications when there is an unhandled
exception