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: inbox-to-action-mcp
ローカル実行
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を参照してください。
This server cannot be deployed
Maintenance
Related MCP Connectors
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.
Triage support mail across every connected domain via API key–gated Streamable HTTP MCP.
Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceClassify raw text into structured triage objects with intent, urgency, category, and sentiment. Zero-config MCP tool for support intake, lead routing, and ticket automation-
- AlicenseAqualityCmaintenanceOne-pass agentic inbox triage as an MCP server: fetch unread Gmail → classify (action_needed/fyi/newsletter/noise) → summarize → extract tasks → draft replies as Gmail DRAFTS (never sends) → flag calendar → write a triage report. Four stdio tools (fetch_emails, save_gmail_draft, append_tasks, write_report); the host is the LLM, so it runs keyless in Claude Code. Gmail scopes: readonly + compose459 PyPI2MIT
- FlicenseNot gradedqualityCmaintenanceProvides 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-