Email MCP Server
MCP server wrapping IMAP/SMTP with persistent IDLE, DKIM/SPF validation, and policy enforcement.
Build
cd workspace/email-mcp
go mod tidy
go build -o email-mcp .
Power your agent
पब्लिशर का इंस्टॉल। PlugMCP एंडपॉइंट नहीं।
Host a copy with our keys and logs.
रजिस्ट्री में अभी कोई पैकेज्ड रिलीज़ नहीं है। रिपॉज़िटरी का README देखें.
रिमोट URL या आपकी मशीन पर कमांड? दोनों इंस्टॉल में क्या अंतर है
PlugMCP पर चलाएँ
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
लॉन्चपब्लिशर से
MCP server wrapping IMAP/SMTP with persistent IDLE, DKIM/SPF validation, and policy enforcement.
cd workspace/email-mcp
go mod tidy
go build -o email-mcp .
MCP server wrapping IMAP/SMTP with persistent IDLE, DKIM/SPF validation, and policy enforcement. 0BSD licensed.
Copy config.json.example to config.json and fill password:
{
"host": "mail.example.net",
"port": 993,
"smtp_port": 465,
"username": "[email protected]",
"password": "...",
"policy": {
"always_bcc": "[email protected]",
"trusted_senders": ["[email protected]"],
"trusted_authserv_ids": ["mail.example.com"],
"dkim_fail_allowlist": ["newsletters.example.com"],
"dkim_enforced_senders": ["[email protected]"],
"allowed_from_addrs": ["example.com"]
}
}
policy.trusted_senders are treated as actionable. Untrusted senders return content without policy_action hints.policy.always_bcc.mail.expire, mail.move, and mail.trash use UID EXPUNGE (RFC 4315) — only the target message is expunged, never other \Deleted messages in the folder.mail.send attachment reads are restricted to policy.attachment_allow_dirs (default: /tmp). Symlinks escaping the allowlist are rejected.trust_mta_auth: true, trusts Authentication-Results headers from trusted_authserv_ids only. DKIM is now only enforced for senders listed in dkim_enforced_senders (e.g. ["[email protected]"]); for all other senders DKIM failures are tolerated, but SPF is still validated — an SPF fail still blocks delivery. Use full addresses or bare domains (subdomain match: mail.example.com matches example.com).allowed_from_addrs restricts which domains / addresses mail.send can use in the From header.mail.expire MOVEs to Trash, never hard-deletes, logs every message.mail.fetch_attachments auto-extracts .eml attachments from forwarded emails.From display names are structured via net/mail.Address — prevents header-injection spoofing.mail.send calls with identical recipients, subject, body, html, from_addr, and attachments are blocked within a 60s window.mail.received, mail.error — pushed over MCP socket / WebSocket / webhook/api/v1/tools/call) for remote access from Sanctum or other HTTP clientsapi.webhook_url with 5s timeout, never blocks IDLEbob/email-mcp-client — email search, email read, email send, email mailboxes, etc.The REST API and WebSocket run alongside any of the other modes. The HTTP render server, REST API, and WebSocket use separate ports.
MCP server wrapping IMAP/SMTP with persistent IDLE, DKIM/SPF validation, and policy enforcement. 0BSD licensed.
टूल
अभी टूल सूची नहीं है। रिमोट सर्वर को पहले हेल्थ चेक के बाद सूची मिलती है।
FAQ
इस पेज पर Cursor, Claude Desktop, Claude Code या VS Code के लिए stdio कॉन्फ़िग कॉपी करें। यह पब्लिशर का इंस्टॉल इस्तेमाल करता है, PlugMCP प्रॉक्सी नहीं।
इस रिकॉर्ड में कोई ज़रूरी एनवायरनमेंट वेरिएबल दर्ज नहीं है।
Email stdio पर लोकल चलता है।
पिछली जाँच 2026-10-28 को हुई। MCP server wrapping IMAP/SMTP with persistent IDLE, DKIM/SPF validation, and policy enforcement. 0BSD licensed.