/apple-mail:mail-rules-advisorfrom apple-mail
This skill should be used when the user asks to "suggest Gmail-style filters", "build Mail rules text", "separate newsletters", "route invoices", or tame noisy domains by automation, without expecting MCP automation. Uses get_top_senders, search_emails, get_statistics(scope="sender_stats"), list_mailboxes, and optionally export_emails for offline evidence. Ends with prose rule specs only; Mail rules/VIP lists must be created manually in Mail.app UI. Do NOT use for drafting mail (email-drafting), taxonomy-only planning without evidence (narrow use with mailbox-taxonomy), or destructive cleanup (email-archive-cleanup).
Ships in apple-mail. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Produce implementable, human-applied Mail rules derived from MCP analytics. Explicitly disclaim: no MCP call creates Mail rules.
get_top_senders(top_n=30, days_back=30, group_by_domain=true)
Focus on recurring automated domains versus human counterparts. See large-inbox-rules.md for the canonical bounded-scan rules; get_top_senders(days_back=0) returns UNBOUNDED_SCAN_REQUIRED; start at days_back=14 and widen the window rather than reaching for full_inbox_export, which is disabled (UNBOUNDED_EXPORT_DISABLED).
search_emails(sender_exact="...", recent_days=30, limit=20, include_content=false)
get_statistics(scope="sender_stats", sender="...")
Note subject archetypes (“invoice attached”, newsletters, ticketing systems).
list_mailboxes(include_counts=false) ensures proposed targets exist or call out missing folders (Mail UI creation or mailbox-taxonomy path).
Deliver tables like:
| Rule name | Scope | Predicate | Actions | Confidence |
|---|---|---|---|---|
Finance Invoices Auto-File | account X | Sender domain @vendor.com + subject tokens INV | Move to Finance/AP Inbox, skip notification | Medium |
Specify whether Apple Mail Rules, VIP, Smart Mailboxes; each still manual wiring.
Recommend pairing with email-archive-cleanup for historical remediation after new rules intercept fresh mail.
Offer a bounded evidence export for analysts who spreadsheet outside MCP. Use export_emails(scope="filtered", sender_domain="example.com", recent_days=30, max_emails=25) for domain patterns, or export_emails(scope="correspondent", email_address="[email protected]", include_sent=True, recent_days=30, max_emails=25) when the useful evidence is a two-way human thread. Confirm disk path hygiene first.
| Pitfall | Response |
|---|---|
| False positives during transition | Recommend staging + monthly review mailbox |
| Apple Mail limitations | Mention server-side sieve absent for some providers |
| Privacy | Strip customer PII from sample sections when emailing specs externally |
mailbox-taxonomy: aligns folder namespaces with rule targets.email-archive-cleanup: backfills backlog once interception works.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
12 skills in this plugin
/apple-mail-archive-exportUse when the user asks to "back up an Apple Mail account", "recover my partial.emlx attachments", "search an offline mail archive", or "convert my mail for Thunderbird". Runs local scripts to snapshot the Mail cache, rebuild detached MIME payloads, verify the output, and create a SQLite search index. Also indexes verified EML and ICS plugin exports with a manifest. Route staged moves or trash to email-archive-cleanup./apple-mail-operatorThis skill should be used when the user asks "how does this Mail MCP work", "why is Mail slow", "set up Mail for the assistant", "list my accounts/mailboxes", "find an email quickly", or "export my mail in batches". Uses list_accounts, list_mailboxes, get_inbox_overview, search_emails, and export_emails. Do NOT use for sustained inbox-zero programs (see email-management), a 5–10 minute triage ritual (see inbox-triage), or drafting mail (see email-drafting)./calendar-operatorThis skill should be used when the user asks "what's on my calendar", "am I free Thursday", "add an event", "block time for this", "clean up my test calendar", or "which calendar tool should I use". Covers bounded reads, timezone handling, safe event creation, ID-first updates and deletes, and calendar management with list_calendars, list_events, create_event, delete_events, and manage_calendars. Do NOT use for coordinating meetings with other people or invitation workflows (see meeting-scheduler), and do NOT use for email work (see apple-mail-operator).npx claudepluginhub agentic-assets/apple-mail-mcp --plugin apple-mail