added Template.events for email sub-categories