Yes, thanks, that may be part of the problem. It mentions a setting "delete unread notifications" that does not catch the ones sent by mail, because those don't get marked "read". I don't even have that setting in 3.5 - was it introduced in 3.6?
General help
Reduce size of "mdl_notifications" table in MySQL
This discussion has been locked so you can no longer reply to it.