Skip to content

TempMail is a user-friendly Python application with a sleek GUI that provides temporary email addresses via the mail.tm API. It allows users to receive, manage, and view emails securely on their local system for verification, validation, and private messaging. With no external logging, it ensures privacy while offering a seamless inbox experienc.

License

Notifications You must be signed in to change notification settings

AliJ-Programming/TempMail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Program Icon

TempMail

TempMail is a Python-based application for generating temporary email addresses and receiving messages. It utilizes the mail.tm API to create disposable email accounts and fetch messages. The app features an intuitive CustomTkinter-powered graphical user interface (GUI) with theme switching and connection status monitoring.


✨ Features

  • Temporary Email Generation – Create disposable email addresses for anonymous use.
  • Inbox Management – View and read messages in your temporary inbox.
  • Connection Status Monitoring – Monitor internet connectivity in real-time.
  • Theme Switching – Toggle between dark and light UI themes.

📋 Requirements

Ensure the following are installed:

Python Icon Python 3.10-3.12.7 (Python 3.13+ is not supported)

Required Python Packages:

  • Pillow
  • requests
  • CTkListbox
  • tkinterweb
  • customtkinter

Dependencies are listed in requirements.txt.


🚀 Installation

🔹 Automatic Installation

  1. Clone the repository:

    git clone https://github.com/AliJ-Programming/TempMail.git
  2. Open CMD in TempMail directory.

  3. Ensure an internet connection & Run the installation script:

    Auto_Installer.bat
  4. Select the Python version and wait for the installation to complete. You can activate the Virtual Environment immediately or manually later.

  5. Activate the Virtual Environment:

    .venv/Scripts/activate.bat
  6. Run the program:

    python TempMail.py
  7. Alternatively, run the program without activating the Virtual Environment:

    .venv/Scripts/python.exe TempMail.py
  • To deactivate the Virtual Environment:

    deactivate

🔹 Manual Installation

  1. Clone the repository:

    git clone https://github.com/AliJ-Programming/TempMail.git
  2. Open CMD in TempMail directory.

  3. Create and activate a Virtual Environment (recommended):

    python -m venv .venv
    .venv/Scripts/activate.bat
  4. Install dependencies:

    pip install -r requirements.txt
  5. Run the program:

    python TempMail.py
  6. Alternatively, run the program without activating the Virtual Environment:

    .venv/Scripts/python.exe TempMail.py
  • To deactivate the Virtual Environment:

    deactivate

📖 How to Use

  • A temporary email address is generated and displayed upon launch.
  • Regenerate a new email by clicking the refresh icon.
  • Copy the email address using the copy button.
  • Click an email in the inbox to view its contents.

🛠 Key Actions

  • Generate Email – Automatically created at startup or upon request.
  • Check Inbox – Inbox updates automatically.
  • Open Messages – Click an email to view its full content.
  • Regenerate Email – Generate a new email at any time.

⚡ Optional Features

  • Theme Switcher – Toggle between Dark and Light UI themes.
  • Internet Connection Monitoring – Displays online/offline status.

🚧 Limitations

  • Requires Internet – A stable connection is necessary for email generation and message retrieval.
  • Third-Party Dependency – Relies on the mail.tm API, subject to its availability.

🏗 Project Structure

📂 TempMail
├── 📂 Icons/            # UI icons and images
├── 📂 Modules/          # Helper classes and modules
│   ├── 📄__init__.py     # Python import modules manager
│   ├── 📄 UserAgents.py  # User-agent handling module
│   └── 📄 Core.py        # Core functionality module
├── 📄 Auto_Installer.bat # Auto-installer for Windows
├── 📄 Index.html         # HTML file used in the UI
├── 📄 README.md          # Project documentation
├── 📄 requirements.txt   # Required dependencies
└── 📄 TempMail.py        # Main application script

🤝 Contributing

Want to contribute? Follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or fix.
  3. Make your changes and commit them.
  4. Open a pull request.

🙏 Acknowledgments

This project includes code from CoreB, licensed under the MIT License.
CoreB is a lightweight and efficient concurrency management library that provides threading controllers, task execution, and queue management.
In this program, CoreB is used for managing background tasks, ensuring smooth and efficient asynchronous execution.


📜 License

This project is licensed under the MIT License. See the LICENSE file for details.


Thanks for using TempMail! If you encounter issues or have suggestions, feel free to open an issue or contribute.

About

TempMail is a user-friendly Python application with a sleek GUI that provides temporary email addresses via the mail.tm API. It allows users to receive, manage, and view emails securely on their local system for verification, validation, and private messaging. With no external logging, it ensures privacy while offering a seamless inbox experienc.

Topics

Resources

License

Stars

Watchers

Forks