Agent skill
gmail
Use when ingesting Gmail replies, reading supported email replies, or recording Gmail email activity through GTM OS.
Filed under Onboarding, retention and expansion.
From ay-automate/gtmos-skills · 107 skill entries · 0 · pushed 2026-11-02
What it does when it runs
Use when ingesting Gmail replies, reading supported email replies, or recording Gmail email activity through GTM OS.
Automated analysis of the skill and the 0 files bundled beside it. A skill’s own description is written to be selected by an agent, so it describes the job and not the dependencies.
- Keys and connectors you must supply
- GOOGLE_CLIENT_SECRET
- Hosts it reaches
- developers.google.com
- Tool permissions it declares
- No
allowed-toolsin the frontmatter. It only issues instructions, so there is nothing to bound. - Actions present in the files
- None. Instructions only.
Ask about gmail
Opens your assistant with this page's recorded context. Check the linked sources before relying on it.
Install it
View source on GitHub ↗git clone --depth 1 --filter=blob:none --sparse https://github.com/ay-automate/gtmos-skills.git /tmp/gtmos-skills git -C /tmp/gtmos-skills sparse-checkout set "skills/gmail" mkdir -p ~/.claude/skills/gmail cp -R "/tmp/gtmos-skills/skills/gmail/." ~/.claude/skills/gmail/
Picked up without a restart. A project skill of the same name is shadowed by your personal one. For one repository only, swap ~/.claude/skills for .claude/skills. Claude Code docs ↗
Or take the whole library
This repo ships a .claude-plugin manifest, so Claude Code can install all 107 skills at once. Plugin skills are invoked as /<plugin>:<skill>, so they never collide with your own.
/plugin marketplace add ay-automate/gtmos-skills /plugin
The folder is the same in every client that implements the format — 46 of them — so if yours is not above, only the destination changes.
Before you install: this skill will not complete its job on a bare agent. It needs GOOGLE_CLIENT_SECRET, which you have to obtain separately.
The skill
Source on GitHub ↗Reproduced in full from ay-automate/gtmos-skills/blob/86780d2f545cdc0a1de971917aa04b41bb0b3ccd/skills/gmail/SKILL.md, which is licensed MIT (repository). 666 words, 10 headings.
gmail with GTM OS
When to use this skill
Use when ingesting Gmail replies, reading supported email replies, or recording Gmail email activity through GTM OS.
What GTM OS uses it for
Native Gmail inbound/reply ingestion, send backend, and CRM email auto-logging.
Capabilities and operation names are listed below as they appear in the connector package and
coverage map. Discover the live input and output schema with gtm describe before invocation;
the registry for the current organization is authoritative if it differs from this static guide.
- Reply retrieval and ingest are connector capabilities (no operation of their own): a connector job pulls replies into GTM OS.
- Adapter mappings include
gtm.message,gtm.contact,gtm.account,gtm.campaign_member,gtm.activity, andgtm.signal. - Outbound email goes through
outreach.send_message(approval-gated) and the configured sending backend.
Connect it
Connect Google/Gmail for the organization via console Connections; auth may use a Google OAuth grant. .env.example names GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET for OAuth application configuration, not a user's mailbox token. Google or Microsoft sign-in to GTM OS authenticates a GTM OS user and does not itself grant mailbox access. Gmail with no live connection may use fixtures.
Request only the Gmail scopes declared by the installed Google auth/connector flow for reply read/ingest and any explicitly enabled send feature. Check the displayed OAuth consent scopes; do not reuse calendar scopes or request full mailbox access by assumption.
Use the console Connections/settings page for the provider when present. For CLI setup, inspect
gtm connect --help and use the provider name supported by the installed CLI; do not guess
flags or paste credentials into command history. Restart/reload the configured instance only
through its documented operator workflow.
Canonical data
- Inbound messages and matched people/company data map to the declared
gtm.*types above. - CRM autologging stores email as
gtm.activity; reply ingest can updategtm.campaign_member/ emitgtm.signal. - Match by verified sender identity; never merge on a guessed email.
Read and write records through registered operations and gtm.* objects only. A vendor-side
record is not automatically a canonical GTM OS record; use the connector's declared mapping and
retain source provenance. Do not infer fields from the vendor API.
Governance and safety
Sending is an external effect and follows the approval gate. Check unsubscribe, suppression, bounce, and consent state before outreach. Inbound messages do not override opt-outs. Never treat a reply as permission to add unrelated recipients.
- E-class/customer-facing writes are proposed for approval; a different human approves them.
- Respect consent, suppression, unsubscribe, and do-not-contact state before any person-level action.
- Honor configured spend/budget caps. Do not retry a billable request blindly after timeout.
- Keep connection secrets in the sealed connection or server environment. Never print or commit them.
Common errors and recovery
-
OAuth denied/expired: reconnect Gmail and inspect consent scopes.
-
No matching contact: keep the message and surface an unmatched result instead of guessing.
-
Duplicate delivery: use provider message/thread IDs and connector idempotency.
-
Send rejected: inspect approval and suppression state before retrying.
-
Check the connection state and provider health before retrying; use the connector's fixture mode only for development.
-
Read the operation error and lineage/receipt before changing inputs or repeating a write.
-
If the provider is not registered, stop and report that limitation; do not call the vendor directly as a workaround.
Do
- Read the connector entry in
docs/gtmos/reference/connections.mdand the currentgtm describeschema before a new integration action. - Start with a read or one narrowly scoped test, confirm provenance, then scale within the approved budget.
- Ask a human to resolve missing consent, expired credentials, or approval-required actions.
Don't
- Don't invent endpoints, scopes, operation names, or object fields.
- Don't bypass GTM OS governance with direct vendor writes or direct database edits.
- Don't send messages, change campaigns, or publish content without the operation's approval path.
Official vendor documentation
https://developers.google.com/gmail/api
GTM OS reference: docs/gtmos/reference/connections.md (installed by gtm init) and the live gtm describe schema.
Other skills for the same job
Different authors, same problem. Matched on the words in the skill name, across every library in the catalogue except this one.
- gmail-follow-up-sequencer by composio-community · 2
Need help setting it up?
This page tells you what gmail does and what it needs. Cheetah builds the agent setup it runs inside: data, CRM, sequencing and the guardrails.
Book a call →The directory stays free. There is nothing gated behind this.