Adds some Mailer functionality