Fix for mailer on heroku