enhancement: more flexible and cleaner api constructor
feature: e-mail with html template