removed mailer code