Start refactor mail template engine for #69