Skip to content

forsaken-mail

Self-hosted disposable email inbox with instant mailboxes and no sign-up

Copyleft (OSI) · GPL-2.0

Listed by , founder & editor

36

Health

Slowing

Overview

Stars

1,548

Last commit

28 days ago

Oct 2026

Repository age

10 years

since Dec 2015

Latest version

–

Contributors

–

1 active in 90 days

Releases

0

last 12 months

Docker pulls

212k

denghongcai/forsaken-mail

Language

TypeScript

Forsaken Mail is a self-hosted temporary email service. You open the page and get a working mailbox at once, with no registration. Incoming mail arrives over SMTP on port 25 and is pushed to your browser in real time over WebSocket.

Version 2 is a full TypeScript rewrite. The server runs on Node 24 with Express 5, socket.io, smtp-server and mailparser, and stores messages in SQLite. The web client uses React 19, Vite and Tailwind CSS. You can view each message as a sandboxed HTML preview, plain text or raw source, and download attachments. You can pick custom addresses, and credentials restore the same mailbox on another device.

Old messages are removed automatically using time limits and count caps to protect disk space. A REST API with bearer tokens lets you create accounts, read messages and ingest relayed mail. It is GPL-2.0 licensed and ships as a Docker image. It replaces hosted throwaway-mail services if you own a domain.

Who it's for

Developers testing sign-up and email flows

Instant mailboxes and a REST API make it easy to create addresses and read messages in tests.

Skip if: You need a full mail server with outgoing mail and long-term storage.

Privacy-conscious users who avoid giving out a real address

You run it on your own domain, so mail never passes through a third-party throwaway service.

Skip if: You have no domain or cannot open port 25.

The problem it solves

Signing up for services with your real address brings spam and exposes you to leaks. Public disposable-mail sites are run by others and can read what arrives. This lets you run the inbox yourself.

Strengths

  • Mailbox ready on page load, with no registration
  • Real-time delivery to the browser via WebSocket
  • Messages stored in SQLite with automatic cleanup by age and count
  • REST API with bearer tokens, including raw MIME ingest
  • Credentials can restore a mailbox across devices

Trade-offs

  • Needs a domain and an open SMTP port 25 to receive mail
  • Maintenance is slowing, with one recent contributor
  • Receives mail only; it is not a full mail server
  • GPL-2.0 license carries copyleft obligations if you modify and distribute it

Self-host forsaken-mail

Self-hostable
Yes
Docker image
denghongcai/forsaken-mail

Frequently asked questions

Is Forsaken Mail free?

Yes. It is open source under GPL-2.0 and you host it yourself.

Can I run it in Docker?

Yes. A Docker image is available.

Where are messages stored?

In a SQLite database. They are cleaned up automatically using time limits and count caps.

Can I script it?

Yes. A REST API with bearer token auth lets you create accounts, list messages and download attachments.

Similar tools in Email software

Mailcow

Email software

Docker-based mail server suite with SOGo webmail for admins who run their own domain

14k 1.9k 4 days ago Thriving GPL-3.0

Replaces Yahoo! MailYandex MailGmail +1

docker-mailserver

Email software

Containerized mail server built on Postfix and Dovecot, configured with plain files

20k 2.1k today Thriving MIT

Replaces Gmail

FairEmail

Email software

Android email client for people who want privacy and many accounts in one inbox

4.8k 714 3 days ago Active GPL-3.0

Replaces Microsoft Outlook

Proton Mail Bridge

Email software

Desktop app that lets Outlook, Thunderbird and Apple Mail read Proton Mail over IMAP

1.6k 254 17 days ago Active GPL-3.0

opentrashmail

Email software

968 78 33 days ago Slowing Apache-2.0