mailer working in dev
mailer in dev and rails4 upgrade