adding mailer support