Googleapis Gmail
Connector for the googleapis-gmail API, generated deterministically from its OpenAPI spec (endpoints, auth, and methods match the spec exactly — nothing is invented).
- Base URL:
https://gmail.googleapis.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
gmail_users_drafts_list— GET /gmail/v1/users/{userId}/drafts — Lists the drafts in the user's mailbox.gmail_users_drafts_get— GET /gmail/v1/users/{userId}/drafts/{id} — Gets the specified draft.gmail_users_history_list— GET /gmail/v1/users/{userId}/history — Lists the history of all changes to the given mailbox. History results are returgmail_users_labels_list— GET /gmail/v1/users/{userId}/labels — Lists all labels in the user's mailbox.gmail_users_labels_get— GET /gmail/v1/users/{userId}/labels/{id} — Gets the specified label.gmail_users_messages_list— GET /gmail/v1/users/{userId}/messages — Lists the messages in the user's mailbox.
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: gmail_users_drafts_list
# (attach an 'oauth' credential to the task — no inline secrets)