email-firewall
Email Triage Agent
Hermes Agent向けの決定論的なメールトリアージ。メッセージをP0〜P3またはREVIEWに分類し、共有のpif.event.v1コントラクトを発行して、Hermesが既存のFeishuゲートウェイを通じて結果を配信できるようにします。
決定論的なHermesメールトリアージMCP:不確実な場合は保留し、V1は削除も送信も行わず、Feishuの認証情報は引き続きHermesが管理します。
なぜ / 設計理念
情報を減らし、新たな情報を作り出さない。
P0は即時対応、P1はダイジェスト待ち、P2/P3は監査のみ。送信者認証の競合や信頼度の低いものは
REVIEW/HOLDになる。人間のフィードバックは外部のJSONLルールトレイルを更新し、モデルの重みは決して更新しない。
オプションのアダプターは読み取り専用IMAPで実際のメールボックスに接続する。Delete、Send、Move、Seenの変更は決して実行しない。
Related MCP server: genpark-split-inbox-triage-priority-scorer-skill
ローカル実行
npm ci
npm test
npm run demo実際のメールボックスアダプターのコマンド:
node src/adapter-cli.js test --account qq-main
node src/adapter-cli.js poll --accounts qq-main認証情報はmacOS Keychainの項目または環境変数への参照です。リテラルなパスワードやトークンは設定検証で拒否されます。読み取り専用メールボックスアダプターガイドを参照してください。
一回限りの分類:
node src/cli.js --json '{"sender":"no-reply@accounts.google.com","subject":"New login detected","auth":{"spf":"pass","dkim":"pass","dmarc":"pass"},"protectedSender":true}'macOSでHermesに追加
Hermesは~/.hermes/config.yamlからstdio MCPツールを検出します。クローンしてインストールし、絶対パスを使用してください:
git clone https://github.com/roclee2692/email-triage-agent.git ~/Projects/email-triage-agent
cd ~/Projects/email-triage-agent && npm ci
hermes mcp add email-firewall --command node --args "$HOME/Projects/email-triage-agent/src/mcp.js"
hermes mcp test email-firewallHermesはmcp_email_firewall_triage_emailなどの名前でツールを登録します。サーバーはFeishuのシークレットを必要としません。HermesがすでにFeishuチャネルを所有しており、返されたメッセージを提示またはスケジュールします。
ツール
triage_emailrender_feishu_emailrecord_email_feedbackget_email_policypoll_email_accountstest_email_accountacknowledge_email_events
関連リポジトリはcrypto-market-sentinelです。両方とも同じイベントエンベロープを返すため、1つのHermesプロンプトで同じ緊急/ダイジェスト/監査ポリシーを適用できます。
Hermes macOSセットアップと共有のPIFイベントコントラクトを参照してください。
ライセンス
MIT。LICENSEを参照してください。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Email inboxes for AI agents. Send, receive, and read email with a trust report on every message.
Email triage tool powered by AI: classifies your inbox, finds messages that need a reply, and…
Email infrastructure for AI agents — send, receive, search, and reply to email over MCP.
Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides policy-grounded triage of Trust & Safety reports via MCP, with tools for triage, policy search, and operational telemetry.-
- FlicenseNot gradedqualityBmaintenanceEnables multi-channel inbox message priority classification and response SLA tracking through MCP-compliant clients, providing deterministic priority scoring and structured execution telemetry.8-
- FlicenseNot gradedqualityCmaintenanceEnables polling Gmail inboxes over IMAP and exposing new emails as MCP tools for listing, reading, and marking processed messages. It supports triage workflows with per-account instructions and secure access via bearer token or OAuth.-
- AlicenseNot gradedqualityNot gradedmaintenanceEnables personal AI agents to triage inbox items by classifying their actionability, effort duration, and urgency, producing a prioritized queue with elastic recommendations. It plugs into MCP-compliant clients such as Claude Desktop and Cursor to protect focus and reduce attention fragmentation.MIT