Today we realized, that ERPNext is sending out some unwanted notifications to our users. I found this setting which disables all notifications for certain users.
@thefox write script in user doctype new record after insert or validate event and second way is validate event in notification settings doctype so try this