This is an Advanced Temporary Email & Password Generator Tool written in Python that allows you to generate temporary email addresses along with strong passwords, save them locally, and review previously created credentials at any time.
- Temporary Email Generation: Creates realistic temporary email addresses with common disposable email domains
- Secure Password Generation: Automatically generates secure passwords of customizable length
- Persistent Storage: Saves all email/password pairs to a local file for later reference
- Interactive Console UI: Easy-to-use command-line interface for credential management
- Full Credential Recall: View previously generated email addresses and their associated passwords
- Data Management: Option to clear all stored temporary email data
Run the program interactively - there are no command-line arguments required. Once started, use numbered menu options to control the tool.
Menu Input: Press 1
Description: Generates a new temporary email address and random secure password combination. These credentials will be displayed on-screen and automatically saved.
Example Session Flow:
👉 1
🔐 Generated Credentials:
📧 Email: abc123xyz@testmail.com
🔑 Password: S5$kL9@mNpRt
📧 Credentials saved successfully.Menu Input: Press 2
Description: Displays list of all previously generated email and password combinations with clear formatting.
Example Output Format:
📬 Previously Generated Credentials:
1. Email: abc123xyz@testmail.com
Password: S5$kL9@mNpRt
2. Email: def456uvw@temp.org
Password: XyZ8!pQrS2$n
Menu Input: Press 3
Description: Permanently deletes all stored temporary email and password entries from the local file system.
Confirmation Message Example:
🗑️ Cleared all saved credentials.
Menu Input: Type q or Q
Description: Exits the interactive session safely.
Exit Message:
👋 Goodbye!
All credentials are saved to a local plaintext file named saved_emails.txt, located in the same directory as the script. Each entry is stored in the following CSV-like format:
email@example.com,password123
another@email.net,Abc$9xYz4!
This makes the file easy to:
- Open manually in a text editor or spreadsheet
- Parse programmatically if needed
- Import into other tools or workflows
⚠️ Security Note: Since this tool saves passwords in plain text, ensure it's used only for testing purposes in secure environments. Never commit such files to repositories or share publicly.
python3 tempmail_generator.py- Create initial credential:
👉 1
🔐 Generated Credentials:
📧 Email: user123@example.com
🔑 Password: M7@nPqRs5#vX
📧 Credentials saved successfully.
- View previous credentials:
👉 2
📬 Previously Generated Credentials:
1. Email: user123@example.com
Password: M7@nPqRs5#vX
- Add another credential:
👉 1
🔐 Generated Credentials:
📧 Email: dev456@testmail.com
🔑 Password: BfG9$nTlKp2@
📧 Credentials saved successfully.
- Verify additional credential was added:
👉 2
📬 Previously Generated Credentials:
1. Email: user123@example.com
Password: M7@nPqRs5#vX
2. Email: dev456@testmail.com
Password: BfG9$nTlKp2@
- Exit cleanly:
👉 q
👋 Goodbye!
| Input | Action Taken |
|---|---|
1 |
Generate and display a new random email and password pair |
2 |
Display all previously generated email and password combinations |
3 |
Delete all saved email-password records from disk |
q or Q |
Exit the program safely |
- Run this tool to generate fresh temporary credentials
- Use those details for sign-up processes where real email isn’t a hard requirement
- Return to check saved list via “Refresh” whenever verification is requested
- Clear data periodically with “Clear All Saved Data” when done
ℹ️ Tip: For full-temporary-inbox experience, pair this generator with an online disposable email service like Mailinator or Guerrilla Mail for actual email reception capabilities.
This tool is ideal for developers, testers, privacy-conscious users, and anyone needing quick throwaway accounts without providing personal email addresses.