modified to use request context when sending email
Merge pull request #1 from jboutros/master

modified to use request context when sending email