An email SMTP sandbox with a terminal interface to receive and view emails in real-time.
Check out the Releases page for pre-built binaries for Windows, macOS, and Linux.
For Linux, download the smtp-tui-linux binary from the releases page, make it executable with chmod +x smtp-tui-linux, and run it using ./smtp-tui-linux. Then make it globally available with sudo mv smtp-tui-linux /usr/local/bin/smtp-tui and you can now call smtp-tui anytime.
- Simple terminal-based UI for viewing incoming emails
- Supports basic SMTP commands
- Real-time email display
- Email preview with headers and body in plain text via terminal
- Ability to view raw email headers
- Keyboard shortcut to open full HTML email in your browser
- Cross-platform builds for Windows, macOS, and Linux
We use Bun as a super fast runtime and to simplify building the executable.
The Makefile includes commands to build and run the tui:
make install: Install dependenciesmake run: Quick run via bunmake build: Build the executables for each platformmake update-deps: Update dependencies interactively with bun
Set the SMTP server to localhost on port 2525 in your email client or application to send emails to this TUI.
(Any username/password is currently accepted as this is intended for local testing only.)