response.flash has been deprecated
New way of sending an email
Mailers have their own home in Rails 3