Set namespace to email event and register the event with a service provider