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.
git clone --depth 1 https://github.com/PsychQuant/che-apple-mail-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/commands/psychquant/che-apple-mail-mcp/review-draft-render)<a href="https://agentmods.dev/commands/psychquant/che-apple-mail-mcp/review-draft-render"><img src="https://agentmods.dev/badge/commands/psychquant/che-apple-mail-mcp/review-draft-render/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/commands/psychquant/che-apple-mail-mcp/review-draft-render"><img src="https://agentmods.dev/badge/commands/psychquant/che-apple-mail-mcp/review-draft-render.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00025 | $0.01639 |
| Opus 5.5 | $0.00010 | $0.00656 |
| Sonnet 5.5 | $0.00005 | $0.00328 |
| Haiku 4.5 | $0.00003 | $0.00164 |
Grade A, and why
review-draft-render 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 1mo 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 — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
寄出前的客戶端呈現審查
本流程包含「來源版本」、「測試副本內容」和「真正客戶端觀察」三種證據。離線助手不渲染 HTML、不連線、不寄信,也不會回傳客戶端呈現已通過。
1. 確認來源與擷取方式
要求使用者明確指定草稿與帳號。使用現有 list_drafts、get_email_metadata/get_email_source 讀取可用資訊,核對 account、Message-ID、主旨與草稿狀態;缺資料或有歧義就停止確認,不以全帳號最新同主旨作結論(#409)。ROWID/AppleScript id 只供當次讀取,不宣稱跨重存穩定。
將選定來源保存為完整 RFC822 .eml 捕捉檔。優先用已確認來源的原始匯出 bytes。若只有 get_email_source 回傳文字,可作為初步分析的 UTF-8 capture,但必須記錄 capture_kind: tool_source_text,不能宣稱與磁碟原始 bytes 相同;來源編碼或同步狀態未釐清前不作正式呈現驗收。.emlx 的 byte-count 前綴與 plist trailer 不是 RFC822,不可直接改副檔名當 .eml。
在使用者指定的私有位置建立新的審查目錄。不要放進版本控制、公開 issue、PR 或共用雲端;內容含完整信件。路徑參數用工具的結構化參數或正確 shell quoting,不將郵件內容插進 shell 指令。
python3 <PLUGIN_ROOT>/scripts/draft-render-review.py prepare \
--source <source.eml> --output <新的審查目錄>
助手在解析時限制256個MIME節點/16層深度,並在解碼前檢查quoted-printable escape(接受CRLF/LF soft break);不支援或破損的capture會拒絕。助手寫入 source.eml、review.json;目錄0700、檔案0600。既有目錄拒絕覆寫;失敗時可能留下不完整封包,沒有完整 metadata 就不能比較。另以私有 context.md 記錄來源識別、capture方式、擷取日期與使用者選擇的客戶端。這份人工紀錄不是來源認證。
風險提示是有限的檢查,不是完整安全/相容性掃描。cite_quote 也可能是回覆或轉寄的正常原文,不可自動刪除;先分辨新正文與原始引文。原始 HTML 不用瀏覽器自動開啟,也不下載圖片/附件資源。
2. 另行確認測試副本
預設討論 Gmail 網頁版,使用者可改成其他實際非 Apple Mail 客戶端。先完成審查封包,再確認是否允許測試寄送或向另一服務上傳,以及明確的測試帳號。 本命令的呼叫本身不等於允許外寄或上傳。
若允許測試,只用另行指定的測試收件人,不沿用正式 To/Cc/Bcc;保留正文、HTML與附件內容及相關MIME metadata。不要把「改收件人後按寄出」作用於唯一的正式草稿。建立測試副本的方式、選取與內容需先確認;本助手不提供或暗中選擇寄送方法。
保存實收副本的原始 .eml,包括信件被分到垃圾郵件夾的情況;Sent 不能代替實收。讀取時記錄測試信的Message-ID與實際帳號,不只靠主旨/檔名。重新保存並取得正式來源的新capture後執行:
python3 <PLUGIN_ROOT>/scripts/draft-render-review.py compare \
--review <審查目錄> --current-source <重新取得的來源.eml> \
--received <實收副本.eml>
source_changed:來源capture已改變,建立新審查,不沿用舊結果。content_differs:測試副本內容不同,先查明中繼改寫、charset、附件或其他差異;不能當作原草稿已驗證。ready_for_client_review:只表示這些檔案的版本/MIME內容比對相符,仍是client_render_verified:false,不代表live Mail身分、送達認證或呈現通過。- 解析/檔案錯誤:unavailable,修正來源或取得完整capture,不猜測結果。
Fingerprint忽略外層傳遞headers、multipart boundary與transfer encoding表示法,但保留MIME結構、decoded leaf bytes、Content-Type/Disposition參數、Content-ID及位置資訊。這不是所有語意等價MIME的判定器,中繼改寫可能造成保守的不相符。
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.
- 1mo ago First seen · 58 lines · 25 tokens per session scan A 0fda358358bc
review-draft-render is a command published in the GitHub repository PsychQuant/che-apple-mail-mcp (11 stars, last pushed 7d ago), licensed MIT. It adds 25 tokens to every session and 1,639 once invoked, about $0.0001 per session on Opus 5.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-10-30.
review-draft-render compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| review-draft-renderPsychQuant/che-apple-mail-mcp | Command | 11 | 7d ago | MIT | A | 25 | Claude Code |
| mboxBigCactusLabs/dead-letter | Command | 8 | 2d ago | none | A | 31 | Claude Code |
| cabinetBigCactusLabs/dead-letter | Command | 8 | 2d ago | none | A | 25 | Claude Code |
| convertBigCactusLabs/dead-letter | Command | 8 | 2d ago | none | A | 21 | Claude Code |
| summarizeBigCactusLabs/dead-letter | Command | 8 | 2d ago | none | A | 25 | Claude Code |
| analyze-attachmentsfatbobman/mail-mcp-bridge | Command | 19 | 7mo ago | MIT | A | 0 | Claude Code |
| watchcallmejustdodo/popcorn | Command | 9 | 6mo ago | MIT | A | 18 | Claude Code |