
Cloudflare 临时邮箱
Free temporary email service you deploy yourself on Cloudflare, with attachments and IMAP/SMTP support.dreamhunter2333/cloudflare_temp_email
- Stars
- 12k
- Forks
- 8k
- Licence
- MIT
- Language
- TypeScript
- Last update
- 5 days ago
- Type
- App
What it is
This project lets you run your own disposable email service on Cloudflare's free tier. You can receive mail at temporary addresses on a domain you control, read it in a web interface, and send mail back out. It also includes an admin console, user accounts, and a Telegram bot.
- Create a random temporary address to sign up for a website and read the verification email
- Receive mail on a subdomain of your own domain using Cloudflare Email Routing
- Use the AI extraction feature to pull verification codes out of incoming messages
- Forward mail from a temporary address to another address
- Let an AI agent read mail through the bundled skill
Great for
- People who want a private disposable inbox on their own domain
- Developers who need to receive test or verification emails
- Anyone comfortable following a deployment guide on Cloudflare
- Users who want to manage mail from a Telegram bot
Not ideal for
- People who want a ready-made service with no setup, since it must be deployed by you
- Users who need guaranteed enterprise mail delivery, because the README does not make delivery guarantees
- Users who cannot use Cloudflare services
How to get it
- 1
Clone and build from source
You'll need: A Cloudflare account · A domain managed through Cloudflare · Node.js (version not stated in the README excerpt)
Clone the repository
git clone https://github.com/dreamhunter2333/cloudflare_temp_email - 2
Run it
- Read the deployment documentation at https://temp-mail-docs.awsl.uk
- Deploy the backend to Cloudflare Workers, using the Deploy button or the GitHub Action guide
- Deploy the frontend to Cloudflare Pages
- Configure Cloudflare Email Routing to send mail to your worker
- Open your deployed frontend and create a temporary address
- 3
Get the most out of it
- Set a password on individual addresses for extra security
- Use the Telegram bot to get push notifications for new mail
- Configure S3 storage for attachments
- Set up SMTP or Resend for sending mail with DKIM verification
- Use the agent skill cf-temp-mail-agent-mail if you use AI agents
Downloads
Strengths
- The README states it is built on Cloudflare free services and can run at zero cost
- Includes attachments, IMAP/SMTP proxy, Telegram bot, and webhooks in one project
- Actively maintained, with a recent push and a published v1.13.0 release
Trade-offs
- Setup depends on Cloudflare services, so you need a domain and familiarity with Cloudflare configuration
- The README is mainly written in Chinese, and the license notice says it is intended for learning and personal use
- Some features, such as Resend DNS setup, have tricky configuration steps
How it compares
| Project | Stars | Type | Level | Updated | Best for |
|---|---|---|---|---|---|
| cloudflare_temp_email (this) | 12k | App | intermediate | 5 days ago | People who want a private disposable inbox on their own domain |
| cloud-mail | 15.3k | App | intermediate | 12 days ago | People who want their own email service on a domain they control |
| supermemory | 31.5k | App | intermediate | 4 days ago | Developers building AI agents or chat apps that need per-user memory |
| nylas-mail | 24.7k | App | advanced | 4 months ago | Developers curious about how an extensible Electron and React desktop app is structured |
| Zero | 10.9k | App | intermediate | 11 days ago | Developers who want to self-host an email client and modify it |
| hono | 32.8k | Library | beginner | 5 days ago | Developers writing TypeScript or JavaScript HTTP APIs |
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.