Added mailer for works

Also written rspec for local testing.
Finally verified actual email delivering on heroku via SendGrid.