Mailer added (not yet fully working yet)