fixing email send
Merge pull request #39 from apatel/master

fixing email send