Add simple mail functionality

Still missing is templates and markdown rendering

fix #6