MCP Email Service
Mailbox CLI
Gestión de correo electrónico centrada en la CLI para IMAP/SMTP de múltiples cuentas con caché de sincronización local.
Interfaz principal: la CLI mailbox (implementación en Node.js). Este repositorio distribuye
binarios precompilados para la plataforma a través de npm (no se requiere Python para los usuarios finales).
Proveedores compatibles
163 Mail (mail.163.com / mail.126.com)
QQ Mail (mail.qq.com)
Gmail (mail.google.com)
Outlook/Hotmail
Servidores IMAP personalizados
Related MCP server: Email SMTP/IMAP MCP Server
Instalación
npm (recomendado)
npm install -g @leeguoo/mailbox-cli
mailbox --helpEl paquete npm distribuye binarios precompilados por plataforma (no se requiere Python).
Como habilidad de IA (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 -gLa habilidad asume que la CLI está en el PATH (npm install -g @leeguoo/mailbox-cli).
Para obtener la mayor aceleración, ejecute también mailbox daemon install una vez.
Servidor MCP (Claude Desktop / Code / Cursor)
mailbox mcp config --json # prints a paste-ready mcpServers entryDesde el código fuente (desarrollo)
pnpm install
pnpm test
# build a local platform binary into mailbox-cli/packages/<platform>/bin/mailbox
pnpm build:binaryConfigurar cuentas
mkdir -p ~/.config/mailbox
cp examples/accounts.example.json ~/.config/mailbox/auth.jsonUbicaciones de configuración:
Credenciales:
~/.config/mailbox/auth.jsonOtros ajustes:
~/.config/mailbox/config.toml
Comandos comunes
# CLI help
mailbox --help
# list accounts
mailbox account list --json
# list unread emails (cache by default)
mailbox email list --unread-only --limit 20 --json
# show one email
mailbox email show 123456 --account-id my_account_id --json
# mark read (use --dry-run to validate first)
mailbox email mark 123456 --read --account-id my_account_id --folder INBOX --dry-run --json
mailbox email mark 123456 --read --account-id my_account_id --folder INBOX --confirm --json
# delete
mailbox email delete 123456 --account-id my_account_id --folder INBOX --confirm --jsonCaché + sincronización
Base de datos de caché predeterminada:
~/.local/share/mailbox/email_sync.dbEl listado utiliza la caché de forma predeterminada siempre que sea posible. Añada
--livepara forzar IMAP.
mailbox sync status --json
mailbox sync force --json
mailbox sync init
mailbox sync daemonGuía de uso de IA
Si está integrando esta CLI en un agente de IA, comience aquí:
docs/AI_SKILL_MAILBOX_CLI.md
Integración con OpenClaw
Este repositorio incluye una habilidad de OpenClaw en skills/mailbox/SKILL.md.
OpenClaw carga las habilidades desde:
<workspace>/skills~/.openclaw/skills
Asistente de enlace rápido (enlace simbólico en ~/.openclaw/skills):
./scripts/link_openclaw_skill.shForzar el reemplazo de un enlace existente:
./scripts/link_openclaw_skill.sh --forcePara usar este repositorio sin copiar archivos, añada el directorio de habilidades del repositorio a
skills.load.extraDirs en ~/.openclaw/openclaw.json:
{
"skills": {
"load": {
"extraDirs": [
"/path/to/mcp-email-service/skills"
]
}
}
}OpenClaw gestiona la entrega de canales y la programación; mailbox devuelve salidas JSON estructuradas y resúmenes de texto opcionales.
Verifique que OpenClaw haya detectado la habilidad:
openclaw skills list --eligible
openclaw skills checkContrato
docs/CLI_JSON_CONTRACT.md
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables comprehensive email management through IMAP/SMTP protocols with tools for searching, organizing, moving, flagging, and sending emails across various email providers. Features safe preview mode for destructive operations and supports multiple email providers including Gmail, Outlook, and Chinese email services.9MIT
- AlicenseAqualityFmaintenanceEnables email management through SMTP and IMAP protocols with support for sending emails with attachments, searching and filtering messages, replying/forwarding with threading, organizing mailboxes, and managing multiple email accounts.5434MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage multiple email accounts with secure credentials, local full-text search, thread-aware replies, and automation.11MIT
- AlicenseNot gradedqualityCmaintenanceEnables unified email management across Gmail, Outlook, iCloud, and IMAP providers with tools for search, send, organize, and batch operations via natural language.58MIT
Related MCP Connectors
AI email inbox and sending tools with attachments, search, live events, and webhooks.
Read, search, send, organize, draft and schedule email across your inboxes from any MCP client.
AI email automation, follow-ups, training, previews, and mailbox troubleshooting.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/leeguooooo/Mailbox'
If you have feedback or need assistance with the MCP directory API, please join our Discord server