Update sendemail function
Merge branch 'master' of https://github.com/jobinrefer/dev