make mailer working