WildDuck is a Node.js and MongoDB mail server with IMAP4rev1 and POP3, REST management, and horizontal scaling for large account counts.
Overview
WildDuck is a mail server built on Node.js and MongoDB that stores accounts and messages in a sharded, replicated database rather than on local maildirs. It targets operators who want Gmail-style product behavior and API-driven administration at scale, especially deployments with many mailboxes.
It offers full IMAP4rev1 with common extensions so standard email clients can connect. Internationalized addresses, folder names, and headers are supported. Attachments can use GridFS or S3, and application instances are stateless so you can add capacity behind a load balancer.
A HTTP API manages accounts, mailboxes, messages, labels, filters, auto-replies, DKIM, and related settings. Security features include running without root, two-factor authentication, application passwords, PGP, and audit logging. The server is designed for replication across MongoDB, Redis Sentinel, and multiple app nodes to avoid single points of failure.
Documentation covers scripted install, Docker Compose, and manual setup. It is often combined with separate inbound and outbound SMTP components from the same mail suite for a complete stack.
Key features
- IMAP4rev1 with common extensions
- POP3 support
- MongoDB-backed storage
- REST API administration
- Unicode email and folders
- 2FA and application passwords
- Stateless horizontal scaling
- GridFS or S3 attachments
Use cases
- Hosted email for many users
- Custom domain mail hosting
- API-driven mailbox provisioning
- Large-scale IMAP deployments
- Building a complete mail stack