MCP Email Service
About
A service for managing multiple email accounts from various providers like 163, Gmail, QQ, and Outlook.
Details
- Author
- leeguooooo
- Categories
- Communication, Other, Automation, Productivity
Jump to
Setup
Install MCP Email Service in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/leeguooooo/email-mcp-service
Follow the installation instructions in the repository README, then restart your MCP client.
CLI-first email management for multi-account IMAP/SMTP with a local sync cache.
Primary interface: themailboxCLI (Node.js implementation). This repo ships prebuilt platform binaries via npm (no Python required for end users).
- 163 Mail (mail.163.com / mail.126.com)
- QQ Mail (mail.qq.com)
- Gmail (mail.google.com)
- Outlook/Hotmail
- Custom IMAP servers
From GitHub Releases (recommended — no npm, no Node)
curl -fsSL https://raw.githubusercontent.com/leeguooooo/Mailbox/main/install.sh | sh mailbox --help
Downloads the prebuilt binary for your platform (macOS arm64/x64, Linux x64) from thelatest GitHub Release, verifies its checksum, and installs to~/.local/bin. Pin a version withMAILBOX_VERSION=v2.11.2, or change the dir withMAILBOX_INSTALL_DIR=....
npm install -g @leeguoo/mailbox-cli # may lag the GitHub Releases; prefer the installer above
The npm registry is no longer the primary channel — releases ship as GitHub Release binaries.
As an AI Skill (Claude Code / Cursor / etc.)
# Project scope — installs into ./.claude/skills/mailbox (or ./.cursor/skills/...): npx skills add leeguooooo/Mailbox --skill mailbox # User scope — installs into ~/.claude/skills/mailbox: npx skills add leeguooooo/Mailbox --skill mailbox -g
The skill assumes the CLI is onPATH(install via thecurl … install.sh | shabove). For the biggest speedup also runmailbox daemon installonce.
MCP server (Claude Desktop / Code / Cursor)
mailbox mcp config --json # prints a paste-ready mcpServers entry
pnpm install pnpm test # build a local platform binary into mailbox-cli/packages/<platform>/bin/mailbox pnpm build:binary
mkdir -p ~/.config/mailbox cp examples/accounts.example.json ~/.config/mailbox/auth.json
- Credentials:~/.config/mailbox/auth.json
- Other settings:~/.config/mailbox/config.toml
- Cache DB default:~/.local/share/mailbox/email_sync.db
- Listing uses cache by default where possible. Add--liveto force IMAP.
mailbox sync status --json mailbox sync force --json mailbox sync init mailbox sync daemon
If you're integrating this CLI into an AI agent, start here:
This repo includes an OpenClaw skill atskills/mailbox/SKILL.md.
- <workspace>/skills
- ~/.openclaw/skills
Quick link helper (symlink into~/.openclaw/skills):
./scripts/link_openclaw_skill.sh --force
To use this repo without copying files, add the repo skills directory toskills.load.extraDirsin~/.openclaw/openclaw.json:
{ "skills": { "load": { "extraDirs": [ "/path/to/mcp-email-service/skills" ] } } }
OpenClaw handles channel delivery and scheduling; mailbox returns structured JSON outputs and optional text summaries.
openclaw skills list --eligible openclaw skills check
Built byleeguooooo— field notes on AI agents, reverse engineering & Cloudflare Workers atblog.misonote.com· follow onX @leeguooooo
Local email connectivity for AI agents — read, draft, send, and organize Outlook mail via MCP. Apache-2.0 licensed.
MCP server for Outlook email, calendar, and contacts — let your AI assistant manage your inbox directly from the conversation.
Interact with Fastmail email, contacts, and calendar data using the Fastmail API.
Most email MCP servers only read from IMAP. mail-mcp does everything: 30 tools for reading, searching, sending, replying, forwarding, and bulk operations across IMAP, SMTP, Microsoft Graph API, and Exchange Web Services. Multi-account, native OAuth2, built in Rust. Works with Gmail, Microsoft 365, Hotmail/Outlook.com, Zoho, and any standard IMAP/SMTP server.
MCP server for Fastmail — email, contacts, calendars, and files via JMAP, CardDAV, CalDAV, and WebDAV
Zo is your personal vibe server in the cloud with 50+ tools and integrations. Add texting, email, calendar, research and more to your harness easily.
An open-source server that gives AI assistants full access to Fastmail email, calendars, and contacts over JMAP.
Interact with Microsoft Outlook for calendar management, email operations, and search functionality.
Interact with Microsoft 365 services like Outlook, OneDrive, and Teams using the Graph API.
Access your Microsoft 365 mail, calendar, and files using the Microsoft Graph API.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


