Secure, Instant, Fast Temporary Email Service
English | 中文
A modern temporary email service built with Next.js and Mail.tm API, providing secure, fast, and anonymous disposable email functionality.
- 🔒 Secure & Reliable - Built on Mail.tm's reliable infrastructure
- ⚡ Instant Access - Get temporary email addresses instantly
- 🌐 Multi-language Support - Supports Chinese and English, automatic browser language detection
- 📱 Responsive Design - Perfect for both desktop and mobile devices
- 🎨 Modern UI - Beautiful design based on HeroUI components
- 🔄 Real-time Updates - Supports Mercure SSE for real-time message notifications
- 🌙 Dark Mode - Light and dark theme support
- 📧 Multi-account Management - Create and manage multiple temporary email accounts
- 🔧 Multi-API Provider - Support switching between DuckMail API and Mail.tm API
- 🎯 Smart Error Handling - Elegant error messages and automatic retry mechanisms
- 🔗 Open Source - Fully open source with community contributions
- 🔧 Multi-API Provider - Support switching between DuckMail API and Mail.tm API
- 🎯 Smart Error Handling - Elegant error messages and automatic retry mechanisms
- 🔗 Open Source - Fully open source with community contributions
Main Interface - Clean and Modern Design
Email Management - Real-time Email Reception and Management
Click the button below to deploy to Netlify with one click:
🎉 Zero Configuration Deployment - After clicking the button, Netlify will automatically fork the project to your GitHub account and start deployment, no additional configuration required!
Click the button below to deploy to Vercel with one click:
⚠️ Note: Vercel deployment only supports DuckMail API, not Mail.tm API (because Mail.tm blocks Vercel's IP addresses). Please disable the Mail.tm provider in settings after deployment.🚀 Zero Configuration: Vercel automatically detects Next.js projects and uses optimal configuration for deployment.
- Node.js 18+
- npm or pnpm
# Clone the repository
git clone https://github.com/moonwesif/duckmail.git
cd duckmail
# Install dependencies
npm install
# or
pnpm install# Start development server
npm run dev
# or
pnpm devOpen http://localhost:3000 to view the application.
# Build for production
npm run build
npm start
# or
pnpm build
pnpm start- Frontend Framework: Next.js 15
- UI Component Library: HeroUI
- Styling: Tailwind CSS
- Icons: Lucide React
- API: Mail.tm REST API / DuckMail API
- Real-time Communication: Mercure SSE
- Language: TypeScript
| Platform | DuckMail API | Mail.tm API | Rating |
|---|---|---|---|
| Netlify | ✅ Supported | ✅ Supported | ⭐⭐⭐⭐⭐ |
| Vercel | ✅ Supported | ❌ Not Supported* | ⭐⭐⭐⭐ |
| Other Platforms | ✅ Supported | ✅ Supported | ⭐⭐⭐ |
*Mail.tm blocks Vercel's IP addresses, so Vercel deployment cannot use Mail.tm API.
- Full Features: Recommended to use Netlify, supports all API providers
- Quick Deploy: Can use Vercel, but need to disable Mail.tm provider in settings
This project uses the free API service provided by Mail.tm:
- Account Management: Create and login to temporary email accounts
- Email Reception: Real-time email receiving and viewing
- Domain Retrieval: Get available email domains
- Real-time Notifications: Real-time message push via Mercure Hub
- Rate Limit: 8 QPS
- Email Validity: According to Mail.tm policy
- No password recovery functionality
Contributions are welcome! Please follow these steps:
- Fork the project
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Mail.tm - For providing free and reliable temporary email API service
- HeroUI - Modern React UI component library
- Next.js - Powerful React framework
- Tailwind CSS - Utility-first CSS framework
If you have any questions or suggestions, please contact us through:
- Create an Issue
- Send email to: syferie@proton.me
If this project helps you, welcome to sponsor and support the developer to continue maintaining and improving the project:
Your support is the driving force for the project's continued development! 🚀
⭐ If this project helps you, please give it a star!