MailPit runs a local SMTP server. Every email your app sends lands in a web inbox on your machine. Nothing reaches real inboxes during development.
Your app sends a welcome email. During development, you either disable the email code (and forget to re-enable it), set up a test account on Mailtrap, or accidentally send "TEST TEST TEST" to a real customer. None of these are good.
Donk bundles MailPit — a lightweight email catcher. It runs SMTP on port 1025 and a web inbox on port 8025. Point your app's SMTP config at localhost:1025 and every email lands in the MailPit inbox. You see the full rendered HTML, headers, attachments — everything. Nothing leaves your machine.
Video: 25–35 seconds. App sends a registration email → open MailPit web inbox → see the rendered HTML email.