I mean, every app does whatever it wants. An update popup here, a warning there. Some blocking window with full attention here, some imutable "you got a message" there. Anti-virus systray icons even render webpages as popups, that contain even more notifications inside them.
Windows is the worst OS I've ever used in regards to focussed work. Every single program running there has the right to disturb my work, and the user is just a dummy that can't get anything done because the UX guidelines treat users like a click monkey.
Having used both older and newer Linux distros, MacOS pre-Catalina and Windows XP/Vista/7/10 as a main machine for work over the years, I'd choose Linux or MacOS for productive work anytime.
I don't care about an _asynchronous_ email when I'm working on something else...you should start to understand this, designers at Microsoft. If a spammer can literally disturb a work productivity of an OS user while the email app is running in the background, your UX is literally the worst solution possible.
I effing hate notifications and the lack of user-focussed Window management on Windows.
Even MacOS without any real window management is better, because at least the IDE window keeps the focussed state and notifications can be force-silenced.
Sorry for the rant, but it's the truth. Windows is not made for productive work in my opinion.