build an html email template from scratch