raise error upon mailer failure