rename mailer
add tests