Make "enable_notifications" a config attribute

fixes #6671