Added email logic
Merge pull request #139 from aptara/Sushil

Added email logic