add mailer method