Changes to mailer for heroku push