mail-workflows

mail-workflows is a skill for Claude Code, Codex from henry200803/mailbridge. It costs 106 tokens per session (1,221 once invoked), scanned A, original, MIT.

An email assistant for searching, reading, organising, exporting, drafting and sending messages across connected mailboxes.

In plain words
What is it for?
It helps search messages, summarise or triage inboxes, draft replies, file or clean up mail, and export messages or attachments in bulk.
Why use it?
It reduces the manual work of finding important messages, understanding inboxes and handling repetitive email tasks. Sending still requires explicit approval.

Skill for Claude CodeCodex

Part of the mailbridge plugin — 2 skills, 1 MCP server shipped together

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/henry200803/mailbridge/mail-workflows
Any agent
npx skills add henry200803/mailbridge --skill mail-workflows
Clone the repo
git clone --depth 1 https://github.com/henry200803/mailbridge

Made for: Claude Code, Codex.

Or install mailbridge, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

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 mail-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/henry200803/mailbridge/mail-workflows.svg)](https://agentmods.dev/skills/henry200803/mailbridge/mail-workflows)
Your own site
<a href="https://agentmods.dev/skills/henry200803/mailbridge/mail-workflows"><img src="https://agentmods.dev/badge/skills/henry200803/mailbridge/mail-workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,221 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 $0.00106 $0.01221
Opus 5 $0.00053 $0.00611
Sonnet 5 $0.00021 $0.00244
Haiku 4.5 $0.00011 $0.00122

Measured 5d ago against content hash f2304846f9dc, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mail-workflows 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 5d 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/mail-workflows/SKILL.md · 112 lines

How it starts

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

Working with the user's mail

mailbridge exposes real mailbox access. Treat it the way a careful assistant with someone's inbox open would: read freely, change things deliberately, and never send without an explicit go-ahead.

Orient first

Call mail_list_accounts at the start of a mail task unless the account is already established in this conversation. Everything else depends on knowing which mailboxes exist and what they are called.

Omitting accounts on mail_search, mail_digest and mail_export searches every configured mailbox at once. That is usually what the user means by "my email". Name specific accounts only when they do.

Searching

mail_search returns summaries — sender, subject, date, snippet, flags, id — and never bodies. Read bodies with mail_get_message, and only for messages that actually matter. Pulling twenty full bodies to answer one question wastes the user's context and slows everything down.

Compose filters instead of running several searches:

mail_search(sender="qantas", since="2026-06-01", has_attachment=true)
mail_search(query="lease renewal", folder="archive", limit=50)
mail_search(unread_only=true, since="2026-07-28")

Practical notes:

  • query is a full-text search. Both backends support it, but IMAP full-text search is slow on large mailboxes — add since or folder to narrow it.
  • sender matches the address or display name; a bare domain like qantas works well.
  • Dates take YYYY-MM-DD or full ISO-8601. before is exclusive.
  • limit is per account, so a limit of 25 across four mailboxes can return 100.
  • Message ids are backend-specific and can go stale when mail moves. If a tool reports an id as missing, search again rather than guessing.

When the user asks about a conversation rather than one message, use mail_get_thread — on Outlook and Exchange it follows the real conversation id.

Triage and daily review

Use mail_digest for "what needs my attention", "catch me up", or a morning review. One call covers every account and returns unread counts plus recent unread summaries. Do not reconstruct this from a pile of searches.

Read the full file on GitHub · 112 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. 5d ago First seen · 112 lines · 106 tokens per session scan A f2304846f9dc

Subscribe to this mod's changes

mail-workflows is a skill published in the GitHub repository henry200803/mailbridge (7 stars, last pushed 25d ago), licensed MIT. It adds 106 tokens to every session and 1,221 once invoked, about $0.0005 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-31.

Related

Other skills, from other repositories

follow-up

Find emails needing follow-up -- unanswered sent emails, flagged unreplied, draft contextual responses.

n24q02m/better-email-mcp · 20 tokens

inbox-review

Morning inbox workflow -- multi-account scan, thread grouping, priority classification, draft replies.

n24q02m/better-email-mcp · 20 tokens

c-email

Read, send, search, and label email via gog (Gmail CLI) or himalaya (IMAP). Supports inbox management, drafting replies, thread viewing, and label/folder operations across Gmail and standard IMAP accounts.

daxaur/openpaw · 49 tokens

thunderbird-cli

Manage email through Mozilla Thunderbird — read, search, compose, reply, forward, archive, move, tag, download attachments, and bulk-operate across all configured IMAP/SMTP accounts via the thunderbird-cli-mcp server. Use whenever the user mentions "email", "inbox", "mailbox", "unread", "messages", asks to "check…

vitalio-sh/thunderbird-cli · 169 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

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