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 skills add n24q02m/better-email-mcp --skill inbox-reviewgit clone --depth 1 https://github.com/n24q02m/better-email-mcpWrote 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/n24q02m/better-email-mcp/inbox-review)<a href="https://agentmods.dev/skills/n24q02m/better-email-mcp/inbox-review"><img src="https://agentmods.dev/badge/skills/n24q02m/better-email-mcp/inbox-review/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.
<a href="https://agentmods.dev/skills/n24q02m/better-email-mcp/inbox-review"><img src="https://agentmods.dev/badge/skills/n24q02m/better-email-mcp/inbox-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00020 | $0.00836 |
| Opus 5 | $0.00010 | $0.00418 |
| Sonnet 5 | $0.00004 | $0.00167 |
| Haiku 4.5 | $0.00002 | $0.00084 |
Grade A, and why
inbox-review 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 12d 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.
Copies of this mod
2 near-identical copies found in the catalogue:
- inbox-review — 100% identical, 0 lines differ
- inbox-review — 100% identical, 4 lines differ
How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Inbox Review
Systematic morning inbox review with email-specific intelligence.
Multi-Account Handling
Always iterate ALL configured accounts, not just the default:
# List folders for all accounts first
folders(action="list")
# Then search each account
messages(action="search", query="UNSEEN", account="[email protected]")
messages(action="search", query="UNSEEN", account="[email protected]")
Never assume a single account. Users with EMAIL_CREDENTIALS containing multiple accounts expect all to be checked.
IMAP Search Syntax
Use proper IMAP search criteria -- these are NOT free-text queries:
| Intent | Correct syntax | Wrong (will fail or return wrong results) |
|---|---|---|
| Unread emails | UNSEEN |
unread, is:unread |
| Since a date | SINCE 2026-03-20 |
after:2026-03-20, date>2026-03-20 |
| From a sender | FROM [email protected] |
from:sender, [email protected] |
| Flagged/starred | FLAGGED |
starred, is:starred |
| With subject | SUBJECT "meeting notes" |
subject:meeting |
| Combine criteria | UNSEEN SINCE 2026-03-20 |
UNSEEN AND SINCE 2026-03-20 (no AND keyword) |
| Unread + from | UNSEEN FROM [email protected] |
UNSEEN AND FROM [email protected] |
IMAP criteria are space-separated (implicit AND). There is no explicit AND/OR keyword in basic IMAP search.
Thread Grouping
Group messages by conversation, not individual emails:
- Fetch unread messages
- Group by Subject line (strip
Re:,Fwd:prefixes, normalize whitespace) - Within each thread, sort by date ascending
- Display thread with message count: "Meeting Q2 Planning (4 messages, latest from Alice 2h ago)"
This prevents showing 10 individual replies to the same thread as 10 separate items.
Priority Classification
Classify based on recipient role and sender signals:
| Signal | Priority | Reasoning |
|---|---|---|
You are in To: field |
Action Required | Direct request to you |
You are in CC: field |
FYI | Informational, no action expected |
| Mailing list headers present | Low | Bulk/automated |
Reply-To differs from From |
Low | Likely automated/newsletter |
Known sender + To: you directly |
High | Personal direct message |
noreply@, notifications@ |
Low | System notification |
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.
- 12d ago First seen · 92 lines · 20 tokens per session scan A 04d233912dd5
inbox-review is a skill published in the GitHub repository n24q02m/better-email-mcp (34 stars, last pushed today), licensed Apache-2.0. It adds 20 tokens to every session and 836 once invoked, about $0.0001 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.
Other skills, from other repositories
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…
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.
mailbox
A command-line email tool for reading, searching, sending, and managing messages in Gmail, QQ, 163, Outlook, and other IMAP/SMTP accounts.
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.
himalaya
CLI to manage emails via IMAP/SMTP. Use himalaya to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
safe-email-operations
Use email through the bundled mcp-email-server MCP server, diagnose bounded non-secret state, and hand account or credential setup to a user-operated CLI or authenticated local UI.