renamed emailer into mailer, proper spelling