{"id":50329670,"url":"https://olib-ai.github.io/mailcue/","last_synced_at":"2026-07-02T12:01:08.410Z","repository":{"id":341268788,"uuid":"1169505206","full_name":"Olib-AI/mailcue","owner":"Olib-AI","description":"All-in-one email testing server - SMTP, IMAP, DKIM, DMARC, SpamAssassin, GPG, REST API \u0026 Web UI in a single Docker container","archived":false,"fork":false,"pushed_at":"2026-06-26T23:53:39.000Z","size":3014,"stargazers_count":17,"open_issues_count":2,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-27T01:21:36.259Z","etag":null,"topics":["ci-cd","developer-tools","devtools","dkim","dmarc","docker","dovecot","email","email-server","email-testing","fastapi","imap","mail-server","postfix","react","self-hosted","smtp","spamassassin","testing","webhook"],"latest_commit_sha":null,"homepage":"https://olib-ai.github.io/mailcue/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Olib-AI.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-28T19:39:23.000Z","updated_at":"2026-06-26T23:53:38.000Z","dependencies_parsed_at":"2026-05-29T12:03:55.303Z","dependency_job_id":null,"html_url":"https://github.com/Olib-AI/mailcue","commit_stats":null,"previous_names":["olib-ai/mailcue"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/Olib-AI/mailcue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olib-AI%2Fmailcue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olib-AI%2Fmailcue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olib-AI%2Fmailcue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olib-AI%2Fmailcue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Olib-AI","download_url":"https://codeload.github.com/Olib-AI/mailcue/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Olib-AI%2Fmailcue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35045926,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ci-cd","developer-tools","devtools","dkim","dmarc","docker","dovecot","email","email-server","email-testing","fastapi","imap","mail-server","postfix","react","self-hosted","smtp","spamassassin","testing","webhook"],"created_at":"2026-05-29T09:00:27.894Z","updated_at":"2026-07-02T12:01:08.400Z","avatar_url":"https://github.com/Olib-AI.png","language":"Python","funding_links":[],"categories":["💻 Coding \u0026 Developer Tools"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cbr /\u003e\n  \u003cimg src=\"logo.svg\" alt=\"MailCue\" width=\"320\" /\u003e\n  \u003cbr /\u003e\n  \u003cem\u003eA realistic email testing server in a single Docker container.\u003c/em\u003e\n  \u003cbr /\u003e\u003cbr /\u003e\n  \u003ca href=\"https://github.com/Olib-AI/mailcue/actions\"\u003e\u003cimg src=\"https://img.shields.io/github/actions/workflow/status/Olib-AI/mailcue/ci.yml?branch=main\u0026style=flat-square\u0026label=CI\" alt=\"CI\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Olib-AI/mailcue/blob/main/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-blue?style=flat-square\" alt=\"MIT License\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Olib-AI/mailcue/pkgs/container/mailcue\"\u003e\u003cimg src=\"https://img.shields.io/badge/GHCR-ghcr.io%2Folib--ai%2Fmailcue-blue?style=flat-square\u0026logo=github\" alt=\"GHCR\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Olib-AI/mailcue/stargazers\"\u003e\u003cimg src=\"https://img.shields.io/github/stars/Olib-AI/mailcue?style=flat-square\" alt=\"GitHub Stars\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Olib-AI/mailcue/releases\"\u003e\u003cimg src=\"https://img.shields.io/github/v/release/Olib-AI/mailcue?style=flat-square\" alt=\"Latest Release\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.olib.ai\"\u003e\u003cimg src=\"https://img.shields.io/badge/by-Olib%20AI-6c47ff?style=flat-square\" alt=\"Olib AI\" /\u003e\u003c/a\u003e\n  \u003cbr /\u003e\n  \u003ca href=\"https://github.com/Olib-AI/mailcue/blob/main/openapi.json\"\u003e\u003cimg src=\"https://img.shields.io/badge/OpenAPI-3.1-6BA539?style=flat-square\u0026logo=openapiinitiative\" alt=\"OpenAPI Spec\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/Olib-AI/mailcue/blob/main/postman_collection.json\"\u003e\u003cimg src=\"https://img.shields.io/badge/Postman-Collection-FF6C37?style=flat-square\u0026logo=postman\u0026logoColor=white\" alt=\"Postman Collection\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n---\n\nMailCue 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. Set `MAILCUE_MODE=production` and the same container runs as a real mail server.\n\n**[Features](#features)** · **[Quick start](#quick-start)** · **[Documentation](#documentation)** · **[Contributing](#contributing)**\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"examples/regular-email.png\" alt=\"MailCue inbox showing a rich HTML invoice email\" width=\"860\" /\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"examples/gpg-encrypted-email.png\" alt=\"MailCue displaying a PGP-encrypted email with credentials\" width=\"860\" /\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"examples/settings.png\" alt=\"MailCue settings page with GPG keys, TLS certificate, mail server, and domain management tabs\" width=\"860\" /\u003e\n\u003c/p\u003e\n\n## Features\n\n| Capability | What it does |\n|---|---|\n| Catch-all SMTP | Accepts mail for any address on any domain. Nothing leaves the container. |\n| IMAP and POP3 | Read captured mail with any standard client over STARTTLS or implicit TLS. |\n| Web UI | React app with a mailbox sidebar, folder navigation, an email viewer, and a compose dialog. |\n| REST API and SDKs | JSON API for sending, receiving, injecting, searching, and deleting email, with Python and Node SDKs. |\n| Email injection | Insert messages straight into a mailbox over IMAP APPEND for deterministic test setup, with realistic headers. |\n| DKIM, DMARC, SPF | OpenDKIM signing, OpenDMARC verification, and SPF policy checks, with Authentication-Results headers. |\n| Spam filtering | SpamAssassin scores inbound mail with a configurable threshold, Bayesian filtering, and RBL checks. |\n| TLS everywhere | Auto-generated certificates for SMTP STARTTLS, IMAPS, and POP3S. Upload your own from the UI. |\n| GPG / PGP-MIME | Per-mailbox GPG keys. Sign, encrypt, verify, and decrypt mail (RFC 3156). Publish keys to keys.openpgp.org. |\n| Real-time events | A Server-Sent Events stream pushes email.received, email.deleted, mailbox.created, and more. |\n| Scoped API keys | X-API-Key auth with per-key scopes (read, send, delete, and more) and an optional mailbox allow-list. |\n| MCP server | An official Model Context Protocol server gives an AI agent its own mailbox. |\n| Domain management | Add custom domains with automatic DKIM and a DNS dashboard for MX, SPF, DKIM, DMARC, MTA-STS, and TLS-RPT. |\n| Multi-user | Per-user mailbox quotas and isolated mailboxes, emails, GPG keys, and API keys. |\n| Production mode | A hardened mail server with strict domains, required TLS, DMARC reject, and Let's Encrypt certificates. |\n| Provider sandbox | Capture outbound SMS, voice, and chat API traffic with wire-identical endpoints and signed webhooks. |\n| Single container | One docker run. No external database, Redis, or message queue. SQLite with optional AES-256 encryption. |\n\n## Quick start\n\n### Docker Compose\n\n```bash\ngit clone https://github.com/Olib-AI/mailcue.git\ncd mailcue\ndocker compose up -d\n```\n\nOpen **http://localhost:8088** and log in with username `admin` and password `mailcue`.\n\n### Docker run\n\n```bash\ndocker run -d \\\n  --name mailcue \\\n  -p 8088:80 \\\n  -p 25:25 \\\n  -p 587:587 \\\n  -p 143:143 \\\n  -p 993:993 \\\n  -v mailcue-data:/var/mail/vhosts \\\n  -v mailcue-db:/var/lib/mailcue \\\n  -e MAILCUE_DOMAIN=mailcue.local \\\n  -e MAILCUE_ADMIN_PASSWORD=mailcue \\\n  ghcr.io/olib-ai/mailcue\n```\n\n### Check it works\n\n```bash\ncurl http://localhost:8088/api/v1/health\n```\n\n## Documentation\n\n\u003e 📖 Read the full, interactive guides on the **[Official MailCue Documentation Website](https://olib-ai.github.io/mailcue/)**.\n\n| Guide | Covers |\n|---|---|\n| [Architecture](docs/guides/architecture.md) | Container layout, request flow, and tech stack. |\n| [Configuration](docs/guides/configuration.md) | Environment variables and exposed ports. |\n| [API reference](docs/guides/api.md) | REST endpoints, authentication, and API key scopes. |\n| [Production deployment](docs/guides/production.md) | Hardened mode, DNS records, and TLS certificates. |\n| [Email clients and TLS trust](docs/guides/clients.md) | IMAP/POP3/SMTP setup and trusting the CA. |\n| [Using in CI/CD](docs/guides/ci.md) | Pipeline setup and platform examples. |\n| [MCP server](docs/guides/mcp.md) | Give an AI agent its own mailbox over MCP. |\n| [Provider sandbox and HTTP bin](docs/guides/sandbox.md) | Capture SMS, voice, and chat traffic, and inspect HTTP requests. |\n| [Sharing MailCue across projects](docs/guides/networking.md) | Run one container behind a shared Docker network. |\n| [Development and contributing](docs/guides/development.md) | Local setup, linting, tests, and the PR process. |\n\nThe API is also served as interactive Swagger UI at `/api/docs`, with machine-readable specs in [openapi.json](openapi.json) and [postman_collection.json](postman_collection.json).\n\nThe SDKs and MCP server have their own docs: [Python SDK](sdks/python/README.md), [Node SDK](sdks/node/README.md), and [MCP server](sdks/mcp-node/README.md).\n\n## Contributing\n\nContributions are welcome. See [Development and contributing](docs/guides/development.md) for local setup, linting, type checks, tests, and the pull request process.\n\n## License\n\nMIT. See [LICENSE](LICENSE).\n\n## Star History\n\n\u003ca href=\"https://star-history.com/#Olib-AI/mailcue\u0026Date\"\u003e\n \u003cpicture\u003e\n   \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=Olib-AI/mailcue\u0026type=Date\u0026theme=dark\" /\u003e\n   \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=Olib-AI/mailcue\u0026type=Date\" /\u003e\n   \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=Olib-AI/mailcue\u0026type=Date\" width=\"600\" /\u003e\n \u003c/picture\u003e\n\u003c/a\u003e\n\n## Links\n\n- **Olib AI**: [www.olib.ai](https://www.olib.ai)\n- **GitHub**: [github.com/Olib-AI/mailcue](https://github.com/Olib-AI/mailcue)\n- **Container registry**: [ghcr.io/olib-ai/mailcue](https://github.com/Olib-AI/mailcue/pkgs/container/mailcue)\n- **API docs**: available at `/api/docs` when running\n- **Issues**: [github.com/Olib-AI/mailcue/issues](https://github.com/Olib-AI/mailcue/issues)\n- **Discussions**: [github.com/Olib-AI/mailcue/discussions](https://github.com/Olib-AI/mailcue/discussions)\n\n---\n\n\u003cp align=\"center\"\u003e\n  If you find MailCue useful, please consider giving it a \u003ca href=\"https://github.com/Olib-AI/mailcue\"\u003estar on GitHub\u003c/a\u003e. It helps others discover the project.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  Built by \u003ca href=\"https://www.olib.ai\"\u003eOlib AI\u003c/a\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/olib-ai.github.io%2Fmailcue%2F","html_url":"https://awesome.ecosyste.ms/projects/olib-ai.github.io%2Fmailcue%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/olib-ai.github.io%2Fmailcue%2F/lists"}