Added mailer so that contact messages and error notifications can be sent from the application.