Skip to main content

Module gmail_flow

Module gmail_flow 

Source
Expand description

One Gmail write call end to end (G3): whose account and whether the agent may write (super::access), whether the token covers the action, the person’s yes for what can’t be taken back (send_draft, trash_thread: SPEC_GOOGLE_CONNECTORS_GMAIL_CALENDAR_DRIVE_2026_10_14.md §6), the call, and a line in the account’s log however it ends.

The yes comes from Approver, which in srv is the host’s approval window: a window an agent can neither click nor forge. A send is checked twice: the draft is read and shown, and read again after the yes, and a draft that changed in between is not sent.

Enums§

Answer
What the person answered.

Traits§

Approver
Asks the person a yes or no about what def wants to do.

Functions§

gmail_write
A Gmail write action for agent def.