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.
npx agentmods add skills/henry200803/mailbridge/mail-workflowsnpx skills add henry200803/mailbridge --skill mail-workflowsgit clone --depth 1 https://github.com/henry200803/mailbridgeWrote 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.
[](https://agentmods.dev/skills/henry200803/mailbridge/mail-workflows)<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>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.
| Model | Per session | Once 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 |
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.
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:
queryis a full-text search. Both backends support it, but IMAP full-text search is slow on large mailboxes — addsinceorfolderto narrow it.sendermatches the address or display name; a bare domain likeqantasworks well.- Dates take
YYYY-MM-DDor full ISO-8601.beforeis exclusive. limitis 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.
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.
- 5d ago First seen · 112 lines · 106 tokens per session scan A f2304846f9dc
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.
Other skills, from other repositories
follow-up
Find emails needing follow-up -- unanswered sent emails, flagged unreplied, draft contextual responses.
inbox-review
Morning inbox workflow -- multi-account scan, thread grouping, priority classification, draft replies.
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.
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…
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.
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…