Temp Mail Generator
A lightweight temporary email generator built with Flask (Python) and a modern frontend. It allows you to quickly generate disposable email addresses, view incoming messages, and refresh your inbox automatically.
Demo
You can try the live demo here:
View Demo on GitHub
Features
- Generate temporary emails with one click
- Read incoming messages in a modern inbox interface
- Automatic inbox refresh every 10 seconds
- Copy email to clipboard
- Frontend with animated gradient UI
- Multiple API key fallback for reliability
- CLI support with
temp-mailcommand after installation
Prerequisites
- Python 3.0+
- pip (Python package manager)
- A RapidAPI account with access to Temp Mail 44 API
Installation
From PyPI
pip install TempMail-Generator
or
pip3 install TempMail-Generator
From Source
git clone https://github.com/Jo0X01/TempMail-Generator.git
cd TempMail-Generator
pip install -r requirements.txt
Configuration
To edit your API keys and endpoints:
temp-mail --config
(or python main.py --config if running from source)
Note
- by defualt if u add api keys via python code or via cli
- it will store them in temp_user_path/config.json
Usage
Start the server (recommended way)
python -m TempMail_Generator
OR
temp-mail
With custom options
temp-mail --host 0.0.0.0 --port 8080 --no-browser
From source code
python main.py
Python Code
from TempMail_Generator import TempMailGenerator
mail = TempMailGenerator()
# to configure the api
api_list = ["api_key_1","api_key_2"]
mail.add_api(api_list)
# just create temp mail
temp_mail = mail.generate()
# read inbox of created temp mail
json_inbox = temp_mail.read_inbox()
# start server
mail.start_server(True,"127.0.0.1",5555)
License
This project is licensed under the MIT License.
Metadata
Release files for TempMail-Generator 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tempmail_generator-1.0.3.tar.gz | 12.4 kB | Without provenance | Details for tempmail_generator-1.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tempmail_generator-1.0.3-py3-none-any.whl | Python 3 | none | any | Details for tempmail_generator-1.0.3-py3-none-any.whl |
Total release size: 24.6 kB
Release files / tempmail_generator-1.0.3.tar.gz
| Download URL | tempmail_generator-1.0.3.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e474af638a55fec0419eb2e124ecf229f1bf6a26d5826f3f0edfe34eb33911ab
|
|
BLAKE2b-256 checksum How to use checksums |
09e8fde1ea3abd4f7bf2cddf0fdb7cb96cfe380ee2735e783ebcb468234df928
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / tempmail_generator-1.0.3-py3-none-any.whl
| Download URL | tempmail_generator-1.0.3-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e0e7fa54e90a15b1fbf784a8007ecd1dc53227e94b59bb6c325d3395f78c5d6f
|
|
BLAKE2b-256 checksum How to use checksums |
a43e4df717c0e9d4cac7aee132c5e9e57fc99436ceea9f979f4aa2bacffd6f6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for TempMail-Generator 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.