Skip to content

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.

Notifications You must be signed in to change notification settings

universityofkalilinux/tempmail_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

TempMail Generator

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.

Key Features:

  • 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

Command-Line Usage Guide

Basic Concept:

Run the program interactively - there are no command-line arguments required. Once started, use numbered menu options to control the tool.

Interactive Menu Options:

1. Generate New Email & Password

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.

2. Refresh / View Saved Emails with Passwords

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

3. Clear All Saved Data

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.

q/Q: Quit Tool

Menu Input: Type q or Q Description: Exits the interactive session safely. Exit Message:

👋 Goodbye!

File Storage Details

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.


Sample Execution Flow

Start Script Interactively:

python3 tempmail_generator.py

Perform Actions:

  1. Create initial credential:
👉 1

🔐 Generated Credentials:
📧 Email: user123@example.com
🔑 Password: M7@nPqRs5#vX
📧 Credentials saved successfully.
  1. View previous credentials:
👉 2

📬 Previously Generated Credentials:
1. Email: user123@example.com
   Password: M7@nPqRs5#vX
  1. Add another credential:
👉 1

🔐 Generated Credentials:
📧 Email: dev456@testmail.com
🔑 Password: BfG9$nTlKp2@
📧 Credentials saved successfully.
  1. 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@
  1. Exit cleanly:
👉 q
👋 Goodbye!

Command Summary Reference

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

Best Practices for Use

During Web Registration Processes:

  1. Run this tool to generate fresh temporary credentials
  2. Use those details for sign-up processes where real email isn’t a hard requirement
  3. Return to check saved list via “Refresh” whenever verification is requested
  4. 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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages