Merge pull request #1 from balanceofcowards/master

More elegant test for changes. Eliminates unneeded variable.
Merge pull request #2 from balanceofcowards/master

More code cleanup
supports different encoding types for mails
fix: supports different encoding types for mails
include a link to the original website in mail messages
updates documentation