Add email_via setting.

Also some house cleaning.
Merge pull request #10 from Moove-it/email_via

Add email_via setting.