OpenTrashmail
Self-hosted disposable email inbox with web UI, API, RSS, webhooks
967 stars 76 forks last commit first released Apache-2.0
Actively maintained
Last commit 21 Oct 2026.
OpenTrashmail is an open source, standalone “trashmail” service that includes its own SMTP server for receiving email on your domains without pre-creating mailboxes. Messages can be viewed in a web interface or consumed programmatically via JSON, RSS, and webhooks.
Key Features
- Built-in SMTP server (Python-powered) that accepts mail for configured domains
- Web UI to browse messages, view HTML/text bodies, and manage inboxes
- JSON API for listing messages, retrieving full message details, and deleting mail/accounts
- Per-address RSS feeds for reading emails in RSS clients
- Webhooks (global and per-address) with customizable JSON payloads
- Attachment handling with download support and configurable size limits
- TLS support for SMTP via STARTTLS and TLS-on-connect
- File-based storage (no database required)
- Optional access controls: shared password, allowed IP ranges, and admin view
Use Cases
- Disposable inboxes for signups, testing, and avoiding spam on primary accounts
- Automation workflows that need to ingest emails (e.g., parsing verification or 2FA emails)
- Email honeypot/catch-all style collection for diagnostics and monitoring
Limitations and Considerations
- Not a full mail platform (no IMAP/POP3 mailboxes); focused on receiving and consuming messages via UI/API/RSS
- Running an SMTP listener typically requires careful network and DNS setup and may be impacted by ISP/cloud provider port restrictions
OpenTrashmail is well-suited for homelabs and development environments that need quick, disposable inboxes and machine-friendly access to received emails. Its file-based design and multiple consumption methods make it practical for both manual inspection and automated integrations.
Categories:
Tags:
Tech Stack:
Similar to OpenTrashmail

Hyvor Relay
Open-source, self-hosted Email API for developers
AGPL-3.0 open-source email API for developers that can be self-hosted; supports SMTP sending, webhooks, DNS automation, observability, multi-tenancy, and project isolation.


DocuSeal
Open-source platform for filling and signing documents online
Self-hostable DocuSign alternative to create fillable forms and collect legally binding eSignatures with API and webhooks.

Mox
Modern, secure, all-in-one mail server for self-hosted email
All-in-one secure mail server with SMTP, IMAP, webmail, automatic TLS (ACME), and built-in SPF/DKIM/DMARC plus junk filtering for low-maintenance domains.
WildDuck
Scalable IMAP/POP3 mail server with MongoDB backend and REST API
WildDuck is a horizontally scalable IMAP/POP3 mail server that stores all mail in MongoDB, runs stateless Node.js workers, and provides a REST API for full server control.

Notifuse
Self-hosted platform for newsletters and transactional email
Open-source emailing platform for newsletters and transactional emails with a visual MJML builder, segmentation, A/B testing, analytics, and a REST API with webhooks.

Piler
Open-source email archiving and eDiscovery platform
Scalable email archiving solution with tamper-evident retention, full-text search, legal hold, deduplication and access controls for compliance.



