added e-mail template to main form