mailcue-mcp

by olib-ai

Not rated
GitHub

About

Give AI agents their own local mailbox to read, send, and triage email.

Details

Author
olib-ai
Categories
Communication, Automation, AI

Setup

Install mailcue-mcp in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/olib-ai/mailcue

Follow the installation instructions in the repository README, then restart your MCP client.

A realistic email testing server in a single Docker container.

[](https://github.com/Olib-AI/mailcue/actions)<<<[](https://github.com/Olib-AI/mailcue/blob/main/LICENSE)<<<[](https://github.com/Olib-AI/mailcue/pkgs/container/mailcue)<<<[](https://github.com/Olib-AI/mailcue/stargazers)<<<[](https://github.com/Olib-AI/mailcue/releases)<<<
[](https://github.com/Olib-AI/mailcue/blob/main/openapi.json)<<<

MailCue packages Postfix, Dovecot, OpenDKIM, OpenDMARC, SpamAssassin, a FastAPI REST API, and a React web UI into one Docker container managed by s6-overlay. It runs a full mail stack with IMAP/POP3 access, DKIM signing, DMARC verification, spam filtering, TLS, and GPG encryption, so you can test email the way it behaves in production. SetMAILCUE_MODE=productionand the same container runs as a real mail server.

Features·Quick start·Documentation·Contributing

git clone https://github.com/Olib-AI/mailcue.git cd mailcue docker compose up -d

Openhttp://localhost:8088and log in with usernameadminand passwordmailcue.

docker run -d \ --name mailcue \ -p 8088:80 \ -p 25:25 \ -p 587:587 \ -p 143:143 \ -p 993:993 \ -v mailcue-data:/var/mail/vhosts \ -v mailcue-db:/var/lib/mailcue \ -e MAILCUE_DOMAIN=mailcue.local \ -e MAILCUE_ADMIN_PASSWORD=mailcue \ ghcr.io/olib-ai/mailcue
curl http://localhost:8088/api/v1/health

MailCue uses SQLite by default, which keeps local and small deployments simple. Production installations with concurrent API, provider sandbox, HTTP-bin, or email warmup traffic should use PostgreSQL. MailCue supports a managed PostgreSQL database or a PostgreSQL container on the same private Docker network. Connection pooling, production indexes, foreign keys, automatic schema migrations, and an offline SQLite-to-PostgreSQL migration command are included.

SeeProduction deploymentfor Docker Compose examples and the migration procedure. SeeConfigurationfor every database environment variable.

📖 Read the full, interactive guides on theOfficial MailCue Documentation Website.

The API is also served as interactive Swagger UI at/api/docs, with machine-readable specs inopenapi.jsonandpostman_collection.json. See thedeliverability testing guidefor scoring, visual testing, placement, providers, schedules, and CI policies.

The SDKs and MCP server have their own docs:Python SDK,Node SDK, andMCP server.

Contributions are welcome. SeeDevelopment and contributingfor local setup, linting, type checks, tests, and the pull request process.

- Olib AI:www.olib.ai
- GitHub:
github.com/Olib-AI/mailcue
- Container registry:
ghcr.io/olib-ai/mailcue
- API docs: available at/api/docswhen running
- Issues:
github.com/Olib-AI/mailcue/issues
- Discussions:
github.com/Olib-AI/mailcue/discussions

If you find MailCue useful, please consider giving it astar on GitHub. It helps others discover the project.

Self-hosted email and SMS platform for AI agents — each agent gets a real email address, phone number, inbox, and API key.

Email infrastructure for AI agents — create mailboxes, send/receive emails, and auto-extract verification codes.

Credit-based email infrastructure for AI agents with inboxes, sending, memory, recovery, and MCP access.

Email for AI agents. Send and receive as markdown with human oversight.

Self-hosted email for AI agents: unlimited mailboxes on your own domain, with OTP extraction.

Sendmux serves AI-native startups, SaaS teams, automation agencies, and platform builders that need AI agents to send, receive, route, and react to email in production. Primary buyers and users include technical founders, founding engineers, backend engineers, platform engineers, AI automation consultants, support automation leads, ops teams, and growth teams using their own Gmail, Outlook, SMTP, or managed Amazon SES sending setup.

The MCP email server with human approval — AI drafts emails, you approve before they send. Works with Claude Code, Cursor, Windsurf, and any MCP client.

AI personal assistant for email Inbox Zero

Enables seamless integration with communication platform that allows you to reach your customers globally across any channel.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.