Well... just have a custom GMail app that can be used by agents. That's pretty much my goto pattern: build things that allow both human and agents to use them together. Any place that's anti-AI or similar will have to find a way to distinguish, which won't be possible if the agent use pattern is similar enough to human or the app itself masks usage patterns. Either allow both, or ban both.
I have a feeling they don’t WANT any tool sending email. Anything they open like that is going to be abused to hell by spammers.
In my eyes, this looks exactly like an anti-spam thing. And if you want to send email, you have to get qualified through them which lets them put up a bunch of barriers to try and stop spammers way easier than they could if they were playing whack-a-mole.
I wouldn't count on this working long term. An agent is likely to perform detectable automated actions even via custom app. And if it works and google is serious then, as you say, they can ban custom gmail apps.