remove emailTemplates and add eventSetting client side