MailTub
MailTub: A configurable, developer-focused disposable mail service for self-hosted deployments. Ranked #7 of 24 in Disposable Email Services by our editors (8.3/10); pricing: Open source; best for self-hosters needing configurable mailboxes.
At a glance
- Editor score8.3 / 10
- PricingOpen source
- Best forSelf-hosters needing configurable mailboxes
- Paid fromFree
- Inbox lifetimeHours
- Facts checked20 Sep 2026

Where it wins
- Configurable mailbox expiry from one hour to seven days
- REST API, CLI, WebSocket delivery, and email exports
- Attachments, SMTP STARTTLS, admin controls, and Prometheus metrics
Where it doesn't
- Self-hosted deployment requires operators to manage the infrastructure
- Mailbox expiry is limited to a maximum of seven days
- Its narrow focus may not suit teams seeking broader email workflows
Our verdict on MailTub
MailTub is an open-source, self-hosted disposable email service for developers, QA teams, and operators who need temporary inboxes under their own infrastructure. It runs as a single Go binary with SQLite and an embedded React interface, and it supports Docker deployment. Mailboxes can be created with random addresses or custom local parts, with expiry configured from one hour to seven days and a default lifetime of 24 hours. The platform is available through web, Windows, macOS, Linux, iOS, and Android environments.
Deployment and integration are central to MailTub’s appeal. The published feature set includes real-time delivery through WebSockets, a REST API, and a command-line client, giving development and QA workflows several access paths. MIME attachment parsing and downloads support email inspection, while exports in EML ZIP or JSON help move messages into other processes. SMTP STARTTLS, rate limiting, a password-protected admin panel, and a Prometheus metrics endpoint add operational controls for managed deployments. Teams should choose MailTub when infrastructure ownership and programmatic access matter more than a hosted onboarding flow.
MailTub’s standout strength is the combination of disposable inbox control and operational flexibility. Users can set short-lived or longer temporary mailboxes, use custom addresses, inspect attachments, and receive messages without relying only on manual refreshes. The product also lists custom-domain support in its category specifications. Its tradeoff is the responsibility that comes with self-hosting: operators need to handle deployment and ongoing service management. MailTub fits teams that want configurable temporary mail under their control; teams seeking a broader email workflow or a managed-service-first experience should consider another type of product.
Your product? Our editors can test MailTub in depth and publish a review, labelled as paid · from $149/mo →
MailTub pricing
MailTub fact sheet
| Free plan | Not verified |
|---|---|
| Paid from | Free |
| Inbox lifetime | Hours |
| Custom address | Yes |
| API access | Yes |
| Custom domain | Yes |
| Attachments supported | Yes |
| Max active inboxes | Not verified |
| Deployment | Self-hosted, Desktop, Mobile |
| Platforms | Web, Windows, macOS, Linux, iOS, Android |
| Support | Docs |
| Built for | Solo, Small business, Mid-market (editorial estimate) |
| Pricing | Open source |
| Website | github.com |
| Facts checked | 20 Sep 2026 |
Alternatives to MailTub
- MailinatorA strong fit for automated inbox testing, with private domains and API-driven workflows.9.2
- Temp Mail APIA developer-focused disposable email service with strong parsing and automation support.9.0
- SecureTempMailA flexible disposable inbox service with automation features and a developer plan.8.8
See all MailTub alternatives →
MailTub vs the competition
- MailTub vs Mailinator
- MailTub vs Temp Mail API
- MailTub vs SecureTempMail
- MailTub vs MailDrop
- MailTub vs EmailOnDeck
- MailTub vs Mail.tm
Compare MailTub with any tool side by side →
Used MailTub? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used MailTub for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
MailTub is listed in our Disposable Email Services directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/mailtub/"><img src="https://www.itechguides.com/best/badge/mailtub.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update





