Fixed issue with heroku mailer