composio-gmail

Solid

Per-app playbook for driving Gmail through Composio (toolkit slug `gmail`). Verified GMAIL_* tool slugs and argument shapes for reading, searching, sending, drafts, labels, and threads. Use alongside the `composio` hub skill whenever a task reads or sends Gmail for a connected user. Covers the metadata-first reads, the GMAIL_SEND_EMAIL HTML flag, and reply-to-thread.

AI & Automation 520 stars 57 forks Updated today MIT

Install

View on GitHub

Quality Score: 89/100

Stars 20%
90
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Composio · Gmail Toolkit slug: **`gmail`**. Read the [[composio]] hub first for the call model (`agent-swarm x composio …`, user_id, connected accounts, the 4302 gotcha). Tool `arguments` go inside the request body; `user_id` defaults to `"me"` (the authorized account) — you usually don't need to set it. ```bash # Direct execute (reliable path — pin the ACTIVE ca_… from the hub Recipe B) agent-swarm x composio POST /tools/execute/<SLUG> \ --body '{"user_id":"t@desplega.ai","connected_account_id":"ca_…","arguments":{ … }}' ``` ## Headline tools | Slug | What | Key args | |---|---|---| | `GMAIL_FETCH_EMAILS` | List/search emails | `query`, `max_results` (def **1** — set it!), `include_payload` (def true), `verbose` (def true), `ids_only`, `label_ids`, `page_token` | | `GMAIL_FETCH_MESSAGE_BY_MESSAGE_ID` | Full single message | `message_id`, `include_payload` | | `GMAIL_FETCH_MESSAGE_BY_THREAD_ID` | All messages in a thread | `thread_id` | | `GMAIL_LIST_THREADS` | List threads | `query`, `max_results`, `page_token` | | `GMAIL_SEND_EMAIL` | Send | `recipient_email`, `subject`, `body`, `is_html` (def false), `cc`, `bcc`, `extra_recipients`, `attachment` | | `GMAIL_REPLY_TO_THREAD` | Reply in-thread | `thread_id`, `message_body`, `recipient_email` | | `GMAIL_CREATE_EMAIL_DRAFT` / `GMAIL_SEND_DRAFT` | Draft then send | `body`, `subject`, `recipient_email` / `draft_id` | | `GMAIL_GET_PROFILE` | Whose mailbox is this? | — | | `GMAIL_LIST_LABELS` / `GMAIL_CREATE_LABEL` / `GMAIL...

Details

Author
desplega-ai
Repository
desplega-ai/agent-swarm
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category