Android is designed from the ground up to enable this kind of thing. It has a powerful cross-app Intent system that could allow sharing of emails, deeplinking into gmail, broadcasting email changes, allow other apps to change email status, etc.
What do I mean by this? Anyone with a 'private' API, anyone who's business model involves DRM and anyone who thinks that a remote wipe of an unwilling device should be possible.
On the other hand, your example is wrong on macOS where apple mail and safari are sandboxed. So desktop operating systems are trying to catch up security wise and go beyond the traditional Unix security model.