adding mailer feature