Add simple mail functionality

Still missing is templates and markdown rendering

fix #6
Merge pull request #9 from xtfc/feature/6

Add simple mail functionality