EmailTemplate view fix