Fix entity EmailTemplate