Google is apparently going to be doing that with content on Drive. Not sure what they've said or not said about gMail but what's the difference, really?
I dunno why this is downmodded, given that e.g. OneDrive already applies its rules to all content, not just shared stuff; and Facebook is actively censoring even private chats (it will refuse to send some links, e.g. to certain websites about cannabis).