fixed the mailer