Added functioning mailer