added template to email