Update sendmail.js

Line 117 had been throwing an undefined object error due to using "log" rather than "logger"
Merge pull request #11 from crispen-smith/master

Update sendmail.js