email-management

email-management is a skill for Claude Code from isityael/apple-mail-mcp. It costs 90 tokens per session (2,257 once invoked), scanned A, original, MIT.

A set of instructions for managing Apple Mail with an MCP server, including inbox review, email search, sorting, moving messages, and account operations. IMAP is a standard way to access mail directly from a mail server.

In plain words
What is it for?
Use it to inspect inboxes, find and organise messages, move mail between folders or accounts, and manage email in batches.
Why use it?
It provides workflows for handling large or messy inboxes while requiring review before destructive actions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is uv run python scripts/cross_account_move.py --src-account proton --dst-account m0sh1 --to "[email protected]" --dry-run.

Part of the apple-mail plugin — 3 skills, 1 command, 1 agent, 2 hooks, 1 MCP server shipped together

Good fit Use it to inspect inboxes, find and organise messages, move mail between folders or accounts, and manage email in batches.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/isityael/apple-mail-mcp
agentmods
npx agentmods add skills/isityael/apple-mail-mcp/email-management

Made for: Claude Code.

Or install apple-mail, the plugin that ships this one along with the rest of its 3 skills, 1 command, 1 agent, 2 hooks, 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 email-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/isityael/apple-mail-mcp/email-management/github.svg)](https://agentmods.dev/skills/isityael/apple-mail-mcp/email-management)
Your own site
<a href="https://agentmods.dev/skills/isityael/apple-mail-mcp/email-management"><img src="https://agentmods.dev/badge/skills/isityael/apple-mail-mcp/email-management/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 email-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/isityael/apple-mail-mcp/email-management"><img src="https://agentmods.dev/badge/skills/isityael/apple-mail-mcp/email-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,257 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.00090 $0.02257
Opus 5 $0.00045 $0.01128
Sonnet 5 $0.00018 $0.00451
Haiku 4.5 $0.00009 $0.00226

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

Security

Grade A, and why

email-management 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 10d 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/email-management/SKILL.md · 193 lines

How it starts

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

Email Management Expert

You are an expert email management assistant with deep knowledge of productivity workflows and the Apple Mail MCP server (38 tools across 8 modules, with IMAP-first search acceleration).

Core Principles

  1. Start with Overview — Use get_inbox_overview() or inbox_dashboard() to understand current state before acting.
  2. IMAP-First — Search tools automatically use IMAP when configured (faster, no Mail.app freezes). Falls back to AppleScript transparently.
  3. Batch Operations — Use bulk tools (bulk_move_emails, imap_bulk_move, sort_inbox) when moving many emails.
  4. Safety First — Respect safety limits (max_moves, max_deletes). Confirm destructive actions before executing.
  5. User Preferences — Check tool docstrings for injected USER_EMAIL_PREFERENCES before acting.
  6. Progressive Actions — Search first, review results, then act. Never bulk-delete without confirmation.

Tool Reference (38 tools, 8 modules)

Inbox & Discovery (7 tools)

Tool Purpose
get_inbox_overview() Human-readable inbox summary with suggested actions
inbox_dashboard() Structured JSON dashboard for programmatic use
list_inbox_emails(account, max_emails, include_read) List inbox messages for one or all accounts
get_recent_emails(account, count, include_content) Recent emails with optional content preview
list_accounts() List all configured mail accounts
list_mailboxes(account, include_counts) List mailbox/folder hierarchy with message counts
get_unread_count() Unread count per account (returns dict)

Search (9 tools — IMAP-accelerated)

All search tools try IMAP first when the account has IMAP config. Falls back to AppleScript automatically.

Tool Purpose
search_emails_advanced(account, to_contains, cc_contains, sender_contains, subject_contains, body_contains, date_from, date_to, is_read, has_attachments, is_flagged, offset, ...) Primary search — all filters, IMAP-first, pagination, recipient filtering
search_emails(account, subject_keyword, sender, flag_color, ...) Multi-criteria search (subject, sender, date, attachments, read status, flag color)
get_email_with_content(account, subject_keyword, ...) Quick subject search with content preview
search_by_sender(account, sender, ...) Find all emails from a specific sender
get_recent_from_sender(account, sender, ...) Recent emails from a sender with content
search_email_content(account, search_term, ...) Full-text body search
search_all_accounts(subject_keyword, ...) Cross-account subject search
get_newsletters(account, ...) Identify newsletter subscriptions
get_email_thread(account, subject_keyword, ...) View conversation thread (strips Re:/Fwd: prefixes)

Read the full file on GitHub · 193 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 193 lines · 90 tokens per session scan A d4f943ee5d22

Subscribe to this mod's changes

email-management is a skill published in the GitHub repository isityael/apple-mail-mcp (0 stars, last pushed today), licensed MIT. It adds 90 tokens to every session and 2,257 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.