Adding hooks to MessageTemplates CRM-12265