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