EmailTemplate repository fixed to use typeID guid.