allow using closure argument in sendMail method
Merge pull request #13 from toy/master

Allow using closure argument in sendMail method