Power your agent
การติดตั้งจากผู้เผยแพร่ ไม่ใช่เอนด์พอยต์ของ PlugMCP
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.
เปิดEnterprise-grade MCP email server in pure Rust. Gives any MCP client (Claude Code, Codex, or anything speaking MCP over stdio) full IMAP access and SMTP sending — read, search, organize, draft, and send mail with your own account, no third-party service in the middle.
The server talks IMAP/SMTP directly to your provider over TLS. Credentials stay in your environment (or a local config file); they are never persisted or logged by the server and never leave your machine except to your own mail provider.
Agents that can read and send email are far more useful, but most integrations route your mailbox through a vendor's cloud. This server keeps the connection direct: your IMAP/SMTP host, your credentials, your machine. Swap the model or the MCP client — the same mailbox tools are there, and nothing about your mail is mediated by a platform.
Design choices that follow from that:
email.toml/.env; both are git-ignored and never logged.readOnlyHint, so an
MCP approval gate can auto-allow them while still gating mutations and sends.The family: for curated agent state (versioned JSON categories, fleet sync) see mcp-memory-rs; for corpus recall (chunked documents, BM25 retrieval) see mcp-vl-msa-rs. This server adds the mailbox.
Quick install (Linux / Termux) — downloads the right prebuilt for your
platform, verifies its checksum, and installs atomically to ~/.local/bin:
curl -fsSLO https://raw.githubusercontent.com/DioNanos/mcp-email-rs/main/install.sh
less install.sh # always read scripts before running them
bash install.sh # latest release
bash install.sh --version v0.3.6 # or pin a version
Prebuilt binary (recommended) — download the archive for your platform from the latest release, extract, and point your MCP client at the binary:
tar xzf mcp-email-rs-x86_64-unknown-linux-gnu.tar.gz
install -m755 mcp-email-rs-*/mcp-email-rs ~/.local/bin/
Prebuilt targets (Linux + Android): x86_64-unknown-linux-gnu,
x86_64-unknown-linux-musl, aarch64-unknown-linux-gnu,
aarch64-unknown-linux-musl (edge / ARM / Termux), aarch64-linux-android.
macOS: no prebuilt binary is shipped (it would need Apple code-signing). Install from source instead:
cargo install --git https://github.com/DioNanos/mcp-email-rs --locked
--locked uses the committed Cargo.lock (reproducible build).
cargo build --release
./target/release/mcp-email-rs # stdio MCP server
Claude Code (~/.claude.json) or any MCP client:
{
"mcpServers": {
"email": {
"command": "/path/to/mcp-email-rs",
"env": {
"IMAP_HOST": "imap.example.com",
"IMAP_USER": "[email protected]",
"IMAP_PASSWORD": "your-app-password"
}
}
}
}
Codex (~/.codex/config.toml):
[mcp_servers.email]
command = "/path/to/mcp-email-rs"
env = { IMAP_HOST = "imap.example.com", IMAP_USER = "[email protected]", IMAP_PASSWORD = "..." }
# auto-approve read-only tools (list/get/search/…); mutations and sends still gated
default_tools_approval_mode = "approve"
Credentials are read from environment variables (or a local email.toml).
Copy .env.example to .env and fill in your values:
IMAP_HOST=imap.example.com
IMAP_PORT=993
[email protected]
IMAP_PASSWORD=your-app-password
IMAP_TLS=true
IMAP_AUTH=plain # plain | login | xoauth2 | cram-md5
# SMTP is optional — defaults to the IMAP host/credentials
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# Per-operation IMAP timeout in seconds (clamped to 1..=300)
# EMAIL_OPERATION_TIMEOUT=30
For Gmail/Workspace use an app password (or XOAUTH2). A email.toml file is
also supported — see email.toml.example. Run the built-in email_doctor
tool for a safe, machine-readable diagnostic of your configuration.
send_email, create_draft and update_draft accept a single address or a
comma/semicolon separated list in to, cc and bcc, and local file
attachments through the attachments parameter (read from a dedicated
staging directory). Bcc recipients are delivered through the SMTP envelope
only and never appear in the sent message.
Read tools carry a readOnlyHint; mutations and send_email are intended to
pass through your client's approval gate.
.env, .env.local, email.toml, and tokens/ are git-ignored — keep your
real credentials out of version control.cargo build --release
cargo test --all-targets
cargo clippy --all-targets -- -D warnings
Apache-2.0. See LICENSE.
Enterprise-grade MCP email server in Rust — full IMAP + SMTP for AI agents over stdio
เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
MCP Email Rs ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-10-28 Enterprise-grade MCP email server in Rust — full IMAP + SMTP for AI agents over stdio