Open-Temp-Mail is a modern, high-performance temporary email service built for speed, privacy, and ease of deployment. Engineered with React, Vite, and Cloudflare Workers, it provides a seamless disposable email experience with a premium UI.
- π Blazing Fast: Powered by Cloudflare Workers for edge-latency global performance.
- π‘οΈ Privacy First: Completely anonymous and disposable inboxes.
- π¨ Stunning UI: A beautiful, dark-mode focused interface built with Tailwind CSS v4.
- π± Fully Responsive: Optimized for mobile, tablet, and desktop experiences.
- π Secure Access: Role-based authentication for Admins and Users.
- π¨ Advanced Mailbox Tools:
- β Favorites: Pin important inboxes for quick access.
- π Forwarding Rules: Set up auto-forwarding to real email addresses.
- ποΈ Sanitized Viewing: Safe HTML email rendering with XSS protection.
- π Filtering: Filter by All, Favorites, or Forwarding status.
- Node.js 18+
- Cloudflare Account (for Workers & D1)
- Wrangler CLI (
npm install -g wrangler)
-
Clone the repository
git clone https://github.com/yourusername/open-temp-mail.git cd open-temp-mail -
Install Dependencies
npm install
-
Run Development Server
npm run dev
Visit
http://localhost:5173to view the app.
We love contributions! Please read our Contributing Guide to get started.
- report bugs using our Bug Report Template
- suggest features using our Feature Request Template
- please respect our Code of Conduct
Open-Temp-Mail uses wrangler.toml for configuration.
| Variable | Description | Example |
|---|---|---|
MAIL_DOMAIN |
Your email domain(s), comma-separated | "example.com, temp.io" |
ADMIN_NAME |
Username for the admin dashboard | "admin" |
Secrets (Set via wrangler secret put):
ADMIN_PASSWORD: Secure password for admin access.JWT_TOKEN: Random string for session security.RESEND_API_KEY: (Optional) For sending emails via Resend.Note: Resend offers a free tier with 3000 emails/month, which is perfect for personal use.
Run the automated setup script to create resources and deploy:
npm run deploy:setupFor detailed steps on manually configuring Cloudflare D1, R2, and Secrets, please refer to our Deployment Guide.
open-temp-mail/
βββ π src/ # React Frontend Data & Components
βββ π worker/ # Cloudflare Worker Backend Logic
βββ π scripts/ # Setup & Utility Scripts
βββ π wrangler.toml # Cloudflare Configuration
βββ π package.json # Project DependenciesBuilt with β€οΈ by the Syntax-Error-1337