Add ability to send log as email
Document mail variables in README
Add missing comment