Direkt zum Inhalt
11.05.2026 - SLAC 2026

Stalwart: Can Open Source do Gmail-Scale Email?

Ein Vortrag von Mauro De Gennaro (Stalwart Labs LLC)

Ever wondered how Gmail, Yahoo, and Apple iCloud manage to host hundreds of millions of email accounts reliably? How do they store petabytes of messages, survive hardware failures without losing data, and keep spam at bay across billions of daily deliveries?

This talk begins with an introduction to Stalwart, a secure and scalable open-source email and collaboration server written in Rust. Stalwart is designed for modern deployments and supports both next-generation protocols such as JMAP as well as legacy standards including IMAP, SMTP, WebDAV, CalDAV, and CardDAV. We will also discuss the limitations of traditional mail software such as Dovecot and Postfix, and how Stalwart was built as a modern, unified replacement for both.

Using a 1,024-node cluster as a concrete example, the second part of the session explores how to design and operate a large-scale distributed email system. Topics include storing and indexing messages across a cluster, running spam and phishing filtering at scale, managing distributed MTA queues for reliable delivery, and load-balancing IMAP, JMAP, and SMTP traffic. We will also look at cluster coordination, orchestration, autoscaling, and how to reason about failure scenarios before they occur.

Attendees will leave with a practical understanding of how modern, planet-scale email systems are built and operated, and how these principles can be applied using open-source technology.

Referent

Mauro De Gennaro

Mauro De Gennaro has been deeply passionate about email and digital communications since the early days of the internet. His journey with email began in 1993 through UUCP, when he ran a Bulletin Board System (BBS) that provided users with access to Fidonet as well as email services fetched via UUCP. This early experience set the foundation for a career dedicated to improving and innovating email technologies.

In 1997, Mauro developed a webmail client in C that gained widespread popularity, serving as a trusted solution for many large companies. His expertise in the field continued to grow, and in the early 2000s, he expanded his offerings by creating a comprehensive mail server supporting IMAP, POP3, and SMTP protocols, which he seamlessly bundled with his webmail client.

After two decades, Mauro observed that despite the rapid evolution of technology, the email landscape had remained largely stagnant, with complex, outdated software dominating the space. Driven to modernize email infrastructure, he set out to develop Stalwart, a new mail server from scratch using Rust—a powerful, modern programming language designed for speed, security, and reliability.