gmail

gmail is a skill for Claude Code, Codex from zackbart/connecta. It costs 1 tokens per session (1,274 once invoked), scanned A, original, MIT.

A connection to the signed-in person's Gmail for reading email and creating drafts. Gmail is Google's email service, and this connection cannot send messages.

In plain words
What is it for?
Searching threads with Gmail queries, reading paged conversations, listing labels, and writing drafts.
Why use it?
It lets an agent find relevant conversations and prepare replies without sending email on the person's behalf.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Searching threads with Gmail queries, reading paged conversations, listing labels, and writing drafts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zackbart/connecta/gmail
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zackbart/connecta --skill gmail
Clone the repo
git clone --depth 1 https://github.com/zackbart/connecta

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gmail

README.md
[![agentmods](https://agentmods.dev/badge/skills/zackbart/connecta/gmail/github.svg)](https://agentmods.dev/skills/zackbart/connecta/gmail)
Your own site
<a href="https://agentmods.dev/skills/zackbart/connecta/gmail"><img src="https://agentmods.dev/badge/skills/zackbart/connecta/gmail/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gmail

Your own site · 80×15
<a href="https://agentmods.dev/skills/zackbart/connecta/gmail"><img src="https://agentmods.dev/badge/skills/zackbart/connecta/gmail.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,274 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00001 $0.01274
Opus 5.5 $0.00000 $0.00510
Sonnet 5.5 $0.00000 $0.00255
Haiku 4.5 $0.00000 $0.00127

Measured yesterday against content hash 859c339dea23, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gmail scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 14 executable files (api.ts, fixtures.ts, index.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/providers/gmail/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mail and joins

Reuse the person's Gmail search phrasing (from:, subject:, is:unread, newer_than:7d, label:). Thread ids identify conversations; message ids identify individual messages. Join a message's label ids to label names with list_labels; system labels use fixed ids (INBOX, UNREAD, STARRED, IMPORTANT, SPAM, TRASH), user labels opaque ones such as Label_12. A draft has a stable draft id and a message id that changes on each update.

search_threads.items are threads with thread ids; read each thread to get its message ids. get_thread pages long threads. list_labels reads all labels once, without artificial paging; truncated reports any labels omitted by the result byte bound. On very large label sets, list_labels may truncate; gmail_api_read at /labels returns all labels.

Named reads interpret MIME, charsets, HTML and attachment metadata. An attached or forwarded email is carried content, never the message's own body. bodyFormat: "unavailable" means the stored body could not be read within this connection's bounds; explain that limitation. bodyNote and attachment note retain charset fallback notices even when content is cut. A thread cursor fails conflict when earlier content changed; restart that thread.

Use indexed reads for unprojected RFC headers, MIME parts, mailbox profile and mail history. Paths are relative to the configured mailbox: replace {id} in /messages/{id} with a message id obtained from an earlier read. The index also covers mailbox settings without a named tool: forwarding addresses and auto-forwarding, delegates, send-as aliases and signatures, S/MIME, IMAP/POP, language, client-side encryption and push watches. No argument chooses a different mailbox.

Attachment identity and bytes

Resolve an attachment through its message and immutable part id, including an empty root part id. Gmail may rotate download ids between reads; prefer the part id and read the listing again after an unknown-id refusal. Only carried parts can be read by the named attachment workflow.

Read the full file on GitHub · 104 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +7 lines 859c339dea23
  2. 22d ago Changed · +26 lines 5f67506e73e7
  3. 1mo ago Changed d36e9bd7a5dc
  4. 1mo ago Changed · -28 lines 8ed7792457d8
  5. 1mo ago Changed 696205da67e6
  6. 1mo ago Changed · +5 lines 5d3c332825b8
  7. 1mo ago Changed 5c06d28e889b
  8. 1mo ago Changed · +39 lines f6a054cc4644
  9. 1mo ago First seen · 55 lines · 1 tokens per session scan A 035c6215f4d9

Subscribe to this mod's changes

gmail is a skill published in the GitHub repository zackbart/connecta (0 stars, last pushed yesterday), licensed MIT. It adds 1 tokens to every session and 1,274 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.

Related

gmail compared with skills from other repositories

gmail next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gmailzackbart/connectaSkill0yesterdayMITA1Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code