c-email

c-email is a skill for Claude Code, Codex from daxaur/openpaw. It costs 49 tokens per session (563 once invoked), scanned A, original, MIT.

A command-line helper for managing email through Gmail or standard IMAP accounts. IMAP is a common way for email programs to access messages stored on a mail server.

In plain words
What is it for?
It helps list, read, search, send, reply to, label, archive, trash, and view threads of email messages.
Why use it?
It brings inbox work into the terminal instead of requiring separate webmail or mail applications. It can handle both Gmail and other accounts that support IMAP.

Skill for Claude CodeCodex

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

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.

agentmods
npx agentmods add skills/daxaur/openpaw/c-email
Any agent
npx skills add daxaur/openpaw --skill c-email
Clone the repo
git clone --depth 1 https://github.com/daxaur/openpaw

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 c-email

README.md
[![agentmods](https://agentmods.dev/badge/skills/daxaur/openpaw/c-email.svg)](https://agentmods.dev/skills/daxaur/openpaw/c-email)
Your own site
<a href="https://agentmods.dev/skills/daxaur/openpaw/c-email"><img src="https://agentmods.dev/badge/skills/daxaur/openpaw/c-email.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 563 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00049 $0.00563
Opus 5 $0.00024 $0.00282
Sonnet 5 $0.00010 $0.00113
Haiku 4.5 $0.00005 $0.00056

Measured 6d ago against content hash 8db441a7203b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

c-email 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 6d ago.

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.

skills/c-email/SKILL.md · 55 lines

What it actually says

This skill manages email via gog (Gmail) or himalaya (IMAP). Check availability with which gog himalaya.

Gmail — gog mail (gogcli)

gog mail list                              # List inbox messages
gog mail list --label "INBOX" --max 20
gog mail read <message-id>                 # Read a message
gog mail send --to "[email protected]" --subject "Subject" --body "Body"
gog mail reply <message-id> --body "Reply text"
gog mail search "from:alice subject:report"
gog mail search "is:unread after:2026/02/01"
gog mail label add <message-id> "Label"
gog mail label remove <message-id> "INBOX"
gog mail archive <message-id>
gog mail trash <message-id>
gog mail labels                            # List all labels
gog mail thread <thread-id>                # View full thread

IMAP — himalaya

himalaya list                              # List inbox
himalaya list -m 50                        # List last 50 messages
himalaya read <id>                         # Read message
himalaya write                             # Compose new message (interactive)
himalaya send --to "[email protected]" --subject "Subj" < body.txt
himalaya reply <id>
himalaya forward <id>
himalaya search "subject:report"
himalaya move <id> "Archive"               # Move to folder
himalaya delete <id>
himalaya folders                           # List folders
himalaya --account work list               # Use a specific account

Usage Guidelines

  • Prefer gog for Gmail accounts; prefer himalaya for non-Gmail IMAP.
  • Use gog mail search with Gmail search syntax (from:, to:, subject:, is:unread, has:attachment).
  • For sending with body content, pass the body directly or pipe a file.
  • Both tools require prior authentication setup.

Notes

  • gog requires Google OAuth configured via gog auth.
  • himalaya requires IMAP credentials in ~/.config/himalaya/config.toml.
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. 6d ago First seen · 55 lines · 49 tokens per session scan A 8db441a7203b

Subscribe to this mod's changes

c-email is a skill published in the GitHub repository daxaur/openpaw (167 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 563 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

inbox-triage

Email inbox triage for AI agents — scan, categorize, draft replies, surface urgent items, and archive noise. Supports Gmail and IMAP for inbox zero workflows.

theagentledger/agent-skills · 39 tokens

mail-operations

Use this skill whenever the user wants to interact with email. This includes reading inbox, sending emails, replying, searching messages, managing labels and categories, downloading attachments, setting up auto-reply rules, or triggering agents to handle incoming emails. Supports Gmail, Outlook, and IMAP/SMTP (QQ…

desirecore/market · 151 tokens

imap-smtp-email

Read, search, and manage email via IMAP protocol. Send email via SMTP. Supports Gmail, Outlook, 163.com, 126.com, QQ Mail, and any standard IMAP/SMTP server with multi-account support.

wentorai/Research-Claw · 51 tokens

mailbox

Read, search, send, and manage email across Gmail, QQ, 163, Outlook and any IMAP/SMTP account from the command line. Use when the user asks to "read my email", "查邮件", "look up an Amazon order email", "find the customer review notification", "send an email", "回复邮件", "delete spam", "查未读", "show unread", "synchronize my…

leeguooooo/Mailbox · 120 tokens

email

Run the external email CLI through exec for real IMAP/SMTP/Notmuch mailboxes. Use when the user explicitly wants a real terminal email workflow instead of the built-in benchmark email surfaces.

IceWhaleTech/ZimaOS-Blue · 41 tokens

gmail-tool

Gmail integration tool for unread checks, reading bodies, and drafts via OAuth2 Gmail API access. Use when: reading inbox mail, fetching message bodies, writing drafts, or searching labeled mail.

xuiltul/animaworks · 42 tokens