Changed mailing method

To test if it works on Heroku