Moved email notification to notificationmanager