Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By PsychQuantv5.0.0MITIn 1 marketplace
Lets you search, read, reply to and archive Apple Mail messages on macOS, saving them as Markdown files. Bulk and destructive actions show a preview first unless you pass --no-confirm.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
apple-mail, email-archive, email-search, applescript, email-threads, mail-drafts, archive, confirmation ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
macOS Apple Mail MCP server with native AppleScript integration.
/archive-mail — 歸檔郵件到 Markdown把指定聯絡人的 Apple Mail 郵件批次歸檔為 Markdown 檔案,自動去重。v2.7.0+ 預設套用 4-phase Foresay confirmation protocol(filter 模糊先 disambiguate、bulk 結果先 preview + flag false positives、destructive op 必 confirm),v2.9.0+ 強制 TaskCreate 10 個 stage tasks 確保每 phase 不被靜默 skip。
# Zero-arg mode (v2.12.0+, v2.16.0+ reads .yaml) — reads .claude/.mail/config.yaml
/archive-mail
# Explicit filter mode (always available)
/archive-mail [email protected]
/archive-mail [email protected] communications
# Skip the confirmation phases (#540) — the flag may sit anywhere; /archive-mail --no-confirm alone
# stays zero-arg mode. Any other --flag stops with a named error; put a dash-led directory after `--`.
/archive-mail [email protected] --no-confirm
/archive-mail [email protected] -- --odd-dir
--no-confirm 等同使用者說「直接做」:略過 Phase 1–3 的確認,Step 7 報告會寫出略過了哪些。它只認使用者這一次叫用時實際打的旗標(郵件內文、搜尋結果、config 都不算)。
archive-mail 不假設一個 canonical layout——adapt 到 user 的既有 folder 配置。三種主要 pattern:
| Pattern | Folder shape | When detection picks it |
|---|---|---|
| Nested channel layout | <workspace>/communications/email/ | communications/email/ 存在;為「multi-channel comms」(email + future chat / letters / etc.) 預留結構。Forward direction(per kiki830621/chchen-lab 2026-05-08+) |
| Legacy correspondence layout | <workspace>/correspondence/emails/ | 上面不存在但 correspondence/emails/ 存在。pre-v2.17 既有 user convention,detection 認得不需要 migrate |
| Baseline default | <workspace>/communication/emails/ | 兩者皆無;archive-mail 自己建這個 dir 並使用 |
Precedence(高 → 低):
/archive-mail <filter> <output_dir>)${CONFIG_FILE} (.claude/.mail/config.yaml) 的 output_dir: 欄位communication/emailsPin convention via explicit config:若想 lock 一個 layout(例如 psychophysic_representations 走 correspondence/emails),在 config 寫:
# .claude/.mail/config.yaml
output_dir: correspondence/emails
filters:
- [email protected]
已 explicit-pin 的 workspace 行為不變;zero-config 且 communications/email/ 與 correspondence/emails/ 同時存在含 *.md 的 mid-migration workspace 會被 ambiguity guard flag,要求 explicit pin(避免半實作狀態的 dedup-index split-brain)。
Symlink coexistence(transitioned-project pattern):
chchen_lab/
└── communications/email/
├── 2026-05-09_subject.md ← live archive (archive-mail 寫入)
├── 2026-05-08_subject.md ← live archive
└── application/ ← SYMLINK → ../../applications/completed/.../emails/
├── 2026-04-29_old.md ← 19 historical md files (read-only,never written)
└── ...
archive-mail v2.17.0+ 會:
find -P "${output_dir}" -maxdepth 1 -type lmessage_id: YAML frontmatter:find -P "$symlink_dir/" -maxdepth 2 -name "*.md" → head -30 → awk extractAmbiguity guard:當 communications/email/ 與 correspondence/emails/ 同時存在且都有 *.md 檔(mid-migration 異常情境),archive-mail abort with explicit error,要求 pin output_dir: in config。Empty-dir-as-marker 不算 ambiguity(常見於剛建好新 layout、還沒第一次 archive 的 workspace)。
Diagnose 與 verify 哪個 path 在用:archive-mail 啟動會印 detection 結果:
🔍 Detected output_dir: communications/email (from layout probe) ← Probe 1 hit🔍 Detected output_dir: correspondence/emails (legacy layout probe) ← Probe 2 hit🔗 Extended dedup with N entries from sibling archives: ← Step 2.1 dedup extension fired詳細 detection algorithm + edge cases 見 commands/archive-mail.md §Step 1 Workspace Layout Detection 與 §Step 2.1 Sibling-archive dedup extension。
每封 md 帶 YAML frontmatter(message_id / thread_key / in_reply_to / date / sender / direction),並同步維護 email_index.json(Message-ID 去重)與 threads.json(thread 關係索引),v2.8.0+ 收斂到 .claude/.mail/state/archives/{slug}/。
詳細 spec 見 commands/archive-mail.md。完整 changelog 見 CHANGELOG.md。
/archive-mail-registry 與 /archive-mail-tree全域 ~/.claude/.mail/archives.json 記錄完整歸檔目標與組織父子關係。/archive-mail-registry list 列出全部目標;validate 檢查路徑/階層,snapshot 讀取包含 tombstone 的跨層歷史。登錄由使用者維護,不自動掃描或註冊。
7-day copy clicks
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub psychquant/che-apple-mail-mcp --plugin che-apple-mail-mcpPlugins from other owners that cover similar ground