A lightweight temporary email generator built with Flask (Python) and a modern frontend.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tempmail_generator-1.0.3.tar.gz.
File metadata
- Download URL: tempmail_generator-1.0.3.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e474af638a55fec0419eb2e124ecf229f1bf6a26d5826f3f0edfe34eb33911ab
|
|
| MD5 |
46750b4948ce8ccb187262fa2d3aff18
|
|
| BLAKE2b-256 |
09e8fde1ea3abd4f7bf2cddf0fdb7cb96cfe380ee2735e783ebcb468234df928
|
File details
Details for the file tempmail_generator-1.0.3-py3-none-any.whl.
File metadata
- Download URL: tempmail_generator-1.0.3-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0e7fa54e90a15b1fbf784a8007ecd1dc53227e94b59bb6c325d3395f78c5d6f
|
|
| MD5 |
62aa18ec54b9fd7041011b44e405f601
|
|
| BLAKE2b-256 |
a43e4df717c0e9d4cac7aee132c5e9e57fc99436ceea9f979f4aa2bacffd6f6e
|