Temporary email generator with headless/browser modes for testing and privacy.
A powerful Python tool for generating temporary email addresses using the Mail.tm API.
Perfect for testing, verification, and protecting your privacy online.
- π Instant Email Creation: Generate temporary email addresses in seconds
- π Smart Code Detection: Automatically extracts verification codes from incoming emails
- πΎ Auto-Save: Saves verification codes and account information automatically
- π Browser Integration: Optional web interface access
- π¨ Colorful Interface: Beautiful colored terminal output
- β‘ Real-time Monitoring: Continuously checks for new messages
# 1. Clone and install
git clone https://github.com/A-z-exe/temp-mail-generator.git
cd temp-mail-generator && pip install -r requirements.txt
# 2. Run the tool
python temp-mail-no-browser.py
# 3. Use the generated email for verification
# 4. Codes will be automatically saved to codes.txt
-
Clone the repository:
git clone https://github.com/A-z-exe/temp-mail-generator.git cd temp-mail-generator
-
Install required dependencies:
pip install -r requirements.txt
- Python 3.6+
- requests
- colorama
Run the script:
python temp-mail-no-browser.py
- Creates a temporary email using Mail.tm API
- Displays the email address for you to use
- Monitors incoming messages for verification codes
- Extracts codes automatically using smart pattern matching
- Saves everything to local files for easy access
codes.txt
- Contains extracted verification codesaccount_info.json
- Stores account details and tokens
- Account Verification: Use for signing up on websites
- Testing: Perfect for developers testing email functionality
- Privacy Protection: Avoid using your real email for one-time registrations
- Automation: Integrate into automated testing workflows
Feature | This Tool | Others |
---|---|---|
Auto Code Extraction | β | β |
Real-time Monitoring | β | β |
Browser Integration | β | β |
Colorful Interface | β | β |
JSON Export | β | β |
Free & Open Source | β | β |
π Verification code found: ABC123
π§ New message: Your verification code from GitHub
β
Email checking complete.
[+] Email created: temp123@mail.tm
[β] Code ABC123 saved to codes.txt
Q: No codes are being detected
- Check if emails contain verification codes
- Try manually entering the code when prompted
Q: Connection errors
- Check your internet connection
- Mail.tm API might be temporarily down
Q: Browser doesn't open
- Make sure you have a default browser set
- Try accessing https://mail.tm/ manually
The tool uses these default settings:
- Password:
Masoud@123
(for all generated accounts) - Monitoring Time: 60 seconds
- Check Interval: 5 seconds
You can modify these in the script as needed.
The tool automatically detects verification codes using multiple patterns:
verification code is XXXXXX
code is XXXXXX
verification code: XXXXXX
- Standalone 6-character alphanumeric codes
The tool can optionally open the Mail.tm web interface in your browser, allowing you to:
- View emails with full formatting
- Read messages manually
- Access advanced email features
- Temporary emails are automatically deleted after a period of inactivity
- Don't use for important accounts - these emails are not permanent
- The tool is for legitimate purposes only
- Respect the terms of service of websites you're testing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License - see the LICENSE file for details.
AmirHossein Zarei
- Thanks to Mail.tm for providing the free temporary email API
- Built with Python and love β€οΈ
β If you find this tool useful, please give it a star! β