经 AI Skill Hub 精选评估,RMS邮件 获评「强烈推荐」。这款MCP工具在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
RMS邮件 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
RMS邮件 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/max-ramas/rms-mail-public
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"rms--": {
"command": "npx",
"args": ["-y", "rms-mail-public"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 RMS邮件 执行以下任务... Claude: [自动调用 RMS邮件 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"rms__": {
"command": "npx",
"args": ["-y", "rms-mail-public"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <img src="screenshots/rms-mail-logo.png" alt="RMS Mail Logo"> </p>
---
<p align="center"> <img src="https://img.shields.io/badge/go-1.26-00ADD8?style=for-the-badge&logo=go&logoColor=white" alt="Go 1.26"> <img src="https://img.shields.io/badge/next.js-16-000000?style=for-the-badge&logo=nextdotjs&logoColor=white" alt="Next.js 16"> <img src="https://img.shields.io/badge/react-19-61DAFB?style=for-the-badge&logo=react&logoColor=black" alt="React 19"> <img src="https://img.shields.io/badge/sqlite-003B57?style=for-the-badge&logo=sqlite&logoColor=white" alt="SQLite"> <img src="https://img.shields.io/badge/postgresql-4169E1?style=for-the-badge&logo=postgresql&logoColor=white" alt="PostgreSQL"> <img src="https://img.shields.io/badge/redis-FF4438?style=for-the-badge&logo=redis&logoColor=white" alt="Redis"> <img src="https://img.shields.io/badge/docker-ready-2496ED?style=for-the-badge&logo=docker&logoColor=white" alt="Docker"> <img src="https://img.shields.io/badge/self--hosted-privacy--first-6366f1?style=for-the-badge" alt="Privacy First"> <img src="https://img.shields.io/badge/45_languages-i18n-6366f1?style=for-the-badge" alt="45 Languages"> <img src="https://img.shields.io/badge/license-AGPLv3-blue?style=for-the-badge" alt="AGPLv3"> </p>
<p align="center"> <b>High-performance self-hosted email built for large-scale, multi-account workflows.</b><br> Built for developers, operators, and power users managing real-world workloads at scale.<br> <i>Optional AI integrations available, because modern email outgrew traditional webmail clones years ago.</i><br> <b>Designed with a simple philosophy: predictable performance, minimal resource usage, and no unnecessary complexity.</b> </p>
---
---
| **Feature** | **Mono** | **Mono Pro** | **Unified** | **Teams** |
|---|---|---|---|---|
| IMAP Sync + IDLE Push | ✅ | ✅ | ✅ | ✅ |
Bidirectional IMAP Flags (\Seen/\Flagged/\Answered) | ✅ | ✅ | ✅ | ✅ |
| SMTP Send Engine | ✅ | ✅ | ✅ | ✅ |
| AI Gateway (10 providers) | ✅ | ✅ | ✅ | ✅ |
| AI Chat + Native Tool-calling | ✅ | ✅ | ✅ | ✅ |
| Telegram Bot Orchestration | ✅ | ✅ | ✅ | ✅ |
| MCP Server Protocol Engine | ✅ | ✅ | ✅ | ✅ |
| Native Database FTS Search | ✅ (FTS5) | ✅ (tsvector) | ✅ (tsvector) | ✅ (tsvector) |
| PWA (Installable Web App) | ✅ | ✅ | ✅ | ✅ |
| Command Palette & Hotkeys | ✅ | ✅ | ✅ | ✅ |
| Dynamic IMAP/SMTP Resolver | ✅ | ✅ | ✅ | ✅ |
| Auto-Draft (UIDPLUS + SSE) | ✅ | ✅ | ✅ | ✅ |
| AI Category Taxonomy + Auto Rules | ✅ | ✅ | ✅ | ✅ |
| Real-time SSE Inbox + Counter Sync | ✅ | ✅ | ✅ | ✅ |
Webhook HMAC (event + email payload) | ✅ | ✅ | ✅ | ✅ |
| Zstd Compression & GC | ✅ | ✅ | ✅ | ✅ |
| Seamless Key Rotation CLI | ✅ | ✅ | ✅ | ✅ |
| Unlimited Bulk-by-Filter SQL | ✅ | ✅ | ✅ | ✅ |
| Full Mobile Responsiveness | ✅ | ✅ | ✅ | ✅ |
| Drafts with Autosave | ✅ | ✅ | ✅ | ✅ |
| Private Email Notes | ✅ | ✅ | ✅ | ✅ |
| IMAP Folder CRUD (UI) | ✅ | ✅ | ✅ | ✅ |
| Labels, Rules Architecture | ✅ | ✅ | ✅ | ✅ |
| Rich HTML TipTap Composer | ✅ | ✅ | ✅ | ✅ |
| 45 Languages (i18n) | ✅ | ✅ | ✅ | ✅ |
| Thread Chains (Toggleable) | ✅ | ✅ | ✅ | ✅ |
| Configurable Send Delay | ✅ | ✅ (Redis) | ✅ (Redis) | ✅ (Redis) |
| Browser & TG Notifications | ✅ | ✅ | ✅ | ✅ |
| IDE / Agent Integration | ✅ | ✅ | ✅ | ✅ |
| Pin / Snooze / Mute | ✅ | ✅ | ✅ | ✅ |
| 1:1 User ↔ Mailbox Model | ✅ | ✅ | — | — |
| Hash Partitioning (64x) | — | ✅ | ✅ | ✅ |
| Multi-Account Unified Inbox | — | — | ✅ | ✅ |
| Project Groups Isolation | — | — | ✅ | ✅ |
| PostgreSQL + Redis Infrastructure | — | ✅ | ✅ | ✅ |
| Asynq Async Workers | — | ✅ | ✅ | ✅ |
| OAuth 2.0 Applications (BYOA) | — | — | ✅ | ✅ |
| License Enforcement (live limits) | — | — | ✅ | ✅ |
| Shared Mailboxes | — | — | — | 🚧 |
| Assignments Workflow | — | — | — | 🚧 |
| Internal Comments Thread | — | — | — | 🚧 |
| SLA Tracking & Dashboards | — | — | — | 🚧 |
| Role-based Access Layers | — | — | — | 🚧 |
---
```
Once started, open your browser and navigate to: 👉 http://localhost:3000
For HTTPS production (aaPanel, nginx, Caddy), see reverse-proxy.md — proxy :3000 only on Mono.
./configure.sh
cp .env-m.example .env
cp docker-compose-m.yml docker-compose.yml
cp .env-u.example .env
cp docker-compose-u.yml docker-compose.yml
cp .env-mp.example .env
cp docker-compose-mp.yml docker-compose.yml
Unified edition solves one of the biggest missing features in self-hosted email: Real multi-account workflows. Features: unified inboxes, unified project groups, cross-account search, cross-account bulk actions, unified notifications, centralized AI workflows. Designed for: agencies, freelancers, operations teams, infrastructure engineers, support-heavy environments.
---
RMS Mail ships with a native MCP server. Use your mailbox directly from Cursor, Zed, Claude Desktop, custom agents, orchestrators, and IDE-integrated workflows. Available capabilities: search_emails (fully isolated by MCP API Key context — keys scoped per mailbox account) get_email * email_agent (Natural language email operations with native tool-calling maps)
MCP works behind HTTPS reverse proxies (Mono and Unified): SSE and JSON-RPC on /mcp/* through the UI entrypoint.
This is not an "AI wrapper" integration. Your mailbox becomes part of your agent ecosystem.
RMS Mail includes a deeply integrated Telegram bot. Capabilities: inbox summaries instant notifications AI-assisted chat mailbox search quick actions (/archive, /delete, /reply) workflow automation * signed webhook payloads ({ "event": "email.received", "email": { ... } }) with HMAC-SHA256
The same AI + mailbox system works consistently across browser UI, Telegram, MCP, and agents.
---
RMS Mail does not rely on slow IMAP search or memory-heavy external indexing sidecars. Every email passes through a zero-overhead pipeline ensuring instant access even inside massive directories.
┌─────────┐ ┌────────────────────────┐ ┌───────────────────────────────┐ ┌─────────┐
│ IMAP │ ──▶ │ SQLite FTS5 (Mono) │ ──▶ │ Go Memory Pre-parsing │ ──▶ │ UI │
│ Server │ │ Postgres GIN (U, MP, T)│ │ zstd Raw Payload Compression │ │ (React) │
└─────────┘ └────────────────────────┘ └───────────────────────────────┘ └─────────┘
Pipeline:
tsvector + GIN).(is_pinned, date_sent, id) — O(1) depth at any inbox offset.(folder_id, is_read, is_muted, is_pinned DESC, date_sent DESC, id DESC) eliminates sort on filtered reads; BRIN index on date_sent for compact time-series aggregations; connection pool min(20, CPU*4) prevents OOM in Docker; ANALYZE emails after bulk sync prevents Seq Scan; autovacuum_vacuum_insert_scale_factor = 0.05 triggers vacuum promptly on insert-heavy workloads.measureElement).Result: typically sub-100 ms text search, instant filter counting, fast bulk operations on six-figure mailboxes.
---
rms-mail-public 是一个基于 Go 1.26 和 Next.js 16 构建的高性能邮件管理系统。它集成了先进的 AI 能力,旨在为开发者和专业用户提供一个安全、智能且响应迅速的邮件处理平台。通过现代化的技术栈,该项目实现了从传统邮件协议到智能化工作流的全面升级。
本项目提供强大的邮件处理矩阵,支持 IMAP Sync 与 IDLE Push 技术,确保邮件状态(如 \Seen、\Flagged)的双向同步。内置 SMTP 发送引擎,并配备了支持 10 个供应商的 AI Gateway。此外,系统还具备 AI Chat、原生 Tool-calling 能力以及 Telegram Bot 编排功能,能够满足从个人到团队的多样化需求。
在开始部署之前,请确保您的系统环境已准备就绪。您需要根据项目需求在 .env 文件中配置必要的环境变量。请务必妥善保管您的加密密钥,以确保邮件数据的安全性与完整性。
本项目支持通过 Docker 进行快速部署。您可以直接从 Docker Hub 拉取镜像 `maxramas/rms-mail:m-latest` 进行运行。启动容器后,通过浏览器访问 `http://localhost:3000` 即可使用。若需在生产环境中使用 HTTPS(如配合 aaPanel、nginx 或 Caddy),请参考 reverse-proxy.md 文档进行反向代理配置。
本项目提供了快速启动指南。用户可以通过执行配置脚本 `./configure.sh` 来初始化环境。在首次运行前,请务必完成环境配置步骤,确保系统能够正确识别您的服务配置并进入工作状态。
配置过程分为三个核心步骤:首先,通过 `cp .env-m.example .env` 复制环境模板;其次,在 .env 文件中配置必要的变量;最后,务必设置 `ENCRYPTION_KEYS` 或 `ENCRYPTION_KEY` 以实现数据加密。对于高级用户,系统还支持通过 MCP Server 进行深度集成。
本项目提供两种核心工作流:首先是 Unified Multi-Account Workflow,专为代理机构和自由职业者设计,实现了统一收件箱、跨账号搜索及集中式 AI 工作流,解决了自托管邮件多账号管理的痛点。其次是 MCP Server & IDE Integration,通过原生的 MCP 服务,您可以直接在 Cursor、Zed、Claude Desktop 等 IDE 或智能体中调用邮件功能,实现搜索与读取邮件的自动化集成。
高质量的开源邮件工具,支持大规模多账户
该工具使用 AGPL-3.0 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
⚠️ AGPL 3.0 — 最严格的 Copyleft,网络服务端使用也需开源,SaaS 使用受限。
AI Skill Hub 点评:RMS邮件 的核心功能完整,质量优秀。对于Claude Desktop / Claude Code 用户来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | rms-mail-public |
| 原始描述 | 开源MCP工具:RMS Mail — AI-native self-hosted email built for large-scale, multi-account work。⭐8 |
| Topics | mcpblugedockeremailgolangimap |
| GitHub | https://github.com/max-ramas/rms-mail-public |
| License | AGPL-3.0 |
收录时间:2026-06-04 · 更新时间:2026-06-05 · License:AGPL-3.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端