A modern, privacy-focused temporary email service that allows users to create instant disposable email addresses. Built with React, Express, Bun, and Cloudflare Email Routing.
Homepage - Create temporary email addresses instantly
Mailbox - View and manage your temporary emails
- π Instant Setup - Create temporary email addresses instantly, no registration required
- π Privacy First - Protect your real email from spam and unwanted messages
- β‘ Real-time Updates - Auto-refreshing mailbox with 15-second polling
- π¨ Modern UI - Beautiful, responsive interface with dark mode support
- π§Ή Auto Cleanup - Emails and empty mailboxes automatically deleted after 24 hours
- π§ Cloudflare Integration - Leverages Cloudflare Email Routing for reliable email delivery
- π³ Docker Support - Easy deployment with Docker Compose
Frontend: React 19, TypeScript, Vite, TanStack Query, Tailwind CSS, Radix UI
Backend: Bun, Express, Prisma (SQLite), Cloudflare Workers
- Bun installed
- Docker and Docker Compose (for containerized deployment)
-
Clone and install dependencies
git clone <repository-url> cd mailme cd mailme-backend && bun install && bun run prisma:generate && bun run prisma:migrate cd ../mailme-frontend && bun install
-
Configure environment variables
Create
.envfiles in both directories (see example values in the individual README files). -
Start development servers
# Terminal 1 cd mailme-backend && bun dev # Terminal 2 cd mailme-frontend && bun dev
Access at http://localhost:5173
docker-compose up -dAccess at http://localhost:8080
mailme/
βββ mailme-backend/ # Backend API server
β βββ src/
β β βββ app.ts # Express app setup
β β βββ index.ts # Server entry point
β β βββ routes/ # API routes
β β βββ cleanup.ts # Background cleanup job
β β βββ prisma.ts # Prisma client
β βββ cloudflare/ # Cloudflare Worker
β βββ prisma/ # Database schema & migrations
β βββ README.md # Backend-specific docs
β
βββ mailme-frontend/ # React frontend
β βββ src/
β β βββ pages/ # Page components
β β βββ components/ # Reusable components
β β βββ hooks/ # Custom React hooks
β β βββ lib/ # Utilities & API client
β βββ README.md # Frontend-specific docs
β
βββ docker-compose.yml # Docker orchestration
For detailed setup, API documentation, and deployment instructions, see the README files in mailme-backend/ and mailme-frontend/.
If you find this project useful, please consider giving it a star on GitHub! It helps others discover the project and shows your support.
This project is open source and available for personal use.
Contributions are welcome! Please feel free to submit a Pull Request.