Adding mailer functionality #11