upvote
How is that when javascript is required in some cases? I know deno is popular for this type of workaround, but that is for youtube.
reply
In the end your browser is just making a HTTP request. Figure out the shape of the HTTP requests the Gmail UI sends, then write a script to do it in a non-browser environment.
reply
yes as trivial as replicate arbitrary complexity obfuscated code in a script
reply
If your agent is using cdp it has full access to the calls in your session.
reply
There are much simpler ways -- look at the sibling comments.

Putting those aside: I am sure you could save the Gmail HTML/JS locally, give it to an agent, and have a Gmail client in a day

Even putting LLMs aside, people have been doing this kind of thing for a long time. Reverse engineering is not new.

reply
Or just look at the HTTP calls it makes?
reply
There isn't really any technical way to prevent it. It's just against the terms of service.
reply
Which means they can block your account and then good luck getting it back.
reply