Setting correct e-mail template