Moved alerting functional into the Mailer class. #83