Take hoodie.email.send(properties) as an example. It just the same as `POST /email` with email properties JSON, with the only difference that it's simpler to understand and to handle for frontend people, and it works offline (syncs when connection is back).
Gmail's code base is not a "offline first, mobile first" platform. The API that is exposed to the client-side is fairly light (watch the traffic).
I highly suggest use research "business logic flaws" in web apps. Anything Jeremiah Grossman has said on this topic is good stuff.
Thanks for the pointer to Jeremiah, though :)
https://developers.google.com/gmail/actions/reference/one-cl...
https://developers.google.com/gmail/actions/actions/actions-...
I'm actually surprised so few companies have implemented it thus far.
"This document describes functionality and features that don't exist yet."
I'm well aware that it isn't a perfect solution but it just works.