Skip to content

smail

Active
akazwz/smail

The source of smail.pw: a receive-only temporary email service on Cloudflare Workers with a real-time WebSocket inbox, D1, R2 and Durable Objects.

View on GitHub
Stars
935
Forks
188
Watchers
935
Open issues
0

Overview

smail is the source code of smail.pw, a temporary email service that runs on Cloudflare Workers.

Features

  • Get an address without signing up; it stays the same until you replace or delete it
  • New mail appears within seconds, pushed over a WebSocket (no polling)
  • All pages are static files; the Worker only handles the inbox API, the push connection and incoming mail
  • Emails render in a sandboxed iframe — scripts don’t run and links open in a new tab
  • 19 interface languages, including right-to-left ones
  • Receive only: no sending, and attachments are not shown

Stack

Solid 2, StyleX, Cloudflare Workers, D1, R2, Durable Objects and Email Routing.

Self-hosting

To run your own copy you edit a single file, site.config.ts, then follow the deploy steps in the README; the final Email Routing step is done in the Cloudflare dashboard.

Similar open-source projects, ranked by shared categories and tags.

All Tools projects →