added mailer wrapper