Issue #181 fix sending emails to deleted mails and turning off mailNotifications Users
 issue #181 fixing errors