add email settings to config file
Send email on error. Fix #169
addressing comments
Merge pull request #190 from squirrelo/issue-169

Send email on error