It needs to be enforced by the OS or by law. Like how you get transactional emails without getting marketing spam. I want the same for notifications.
What glorious universe do you live in where email is respected enough to have transactions separate from marketing, and that this is not only required by law but also enforced?
(I decided to look it up, here's the UK rules: https://ico.org.uk/for-organisations/direct-marketing-and-pr... . It looks like it is allowed to be opt-out if you buy something from them, which I do dislike, but there are rules and the ICO does have teeth)
In the past, yeah. But today? Never.
Have you encountered a "marketing email" that you didn't sign up for? That's called phishing.
Have you clicked on links in phishing emails? That's called getting pwned.
Legal requirements are useless without enforcement.