TempBox is a modern, feature-rich temporary email client with both GUI and CLI interfaces. Create disposable email addresses instantly and manage your temporary communications with a clean, intuitive interface.
- Beautiful Tkinter-based interface with a Gmail-like experience
- Real-time message updates with configurable auto-refresh
- Easy account switching and management
- Message preview and full-screen reading mode
- Copy email/password with a single click
- Create unlimited temporary email addresses
- Secure password generation
- Persistent storage of email accounts
- Quick message search and filtering
- Support for HTML messages
- Message attachments handling
- Save messages to JSON for backup
- Configurable auto-refresh (5-300 seconds)
- Background message checking
- New message notifications
- Multi-account monitoring
- Secure password generation
- No permanent data storage on servers
- Local-only account storage
- Session-based authentication
- Python 3.7 or higher
- pip (Python package manager)
- Git (optional)
- Clone the repository (or download ZIP):
git clone https://github.com/01RG0/Tempbox.git
cd tempbox
- Create a virtual environment (recommended):
# Windows
python -m venv venv
venv\Scripts\activate
# Linux/macOS
python3 -m venv venv
source venv/bin/activate
- Install dependencies:
pip install -r requirements.txt
python gui_app.py
python main.py
- Launch the GUI application
- Click "New Email" button
- Your temporary email will be created instantly
- The email and password will be saved automatically
- Auto-Refresh: Enable auto-refresh and set interval (5-300 seconds)
- Manual Refresh: Click the refresh button or press F5
- View Message: Double-click any message to open it
- Save Message: Right-click a message and select "Save to File"
- Search: Use the search box to filter messages
- Switch Accounts: Click any account in the left sidebar
- Copy Email: Double-click an account or use right-click menu
- Copy Password: Right-click an account and select "Copy Password"
- Remove Account: Right-click and select "Remove Account"
The application saves configuration in the following files:
email_accounts.json
: Stores your email accounts (encrypted)config.json
: Application settings (created on first run)
tempbox/
βββ gui_app.py # GUI implementation
βββ email_client.py # Core email client functionality
βββ storage.py # Account storage handling
βββ main.py # CLI implementation
βββ requirements.txt # Python dependencies
python -m pytest tests/
# Install development dependencies
pip install -r requirements-dev.txt
# Run linting
flake8 .
# Run type checking
mypy .
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
The application uses the Mail.tm API. Here are the key endpoints:
POST /accounts
: Create new email accountPOST /token
: Authenticate and get access tokenGET /messages
: Retrieve messagesGET /messages/{id}
: Get specific messageDELETE /messages/{id}
: Delete a message
- Backend: Python with requests library
- Frontend: Tkinter with ttk widgets
- Storage: JSON-based local storage
- Authentication: JWT tokens
- Message Format: HTML/Plain text support
- Passwords are stored locally only
- Sessions are temporary and token-based
- No sensitive data is sent to third parties
- Auto-refresh uses secure token renewal
-
No messages appearing?
- Check your internet connection
- Verify account authentication
- Try manual refresh
-
Authentication failed?
- Remove account and recreate
- Check network connectivity
- Verify API availability
-
GUI not responding?
- Check CPU usage
- Disable auto-refresh
- Restart application
- β Windows 10/11
- β macOS 10.15+
- β Linux (major distributions)
- β *BSD
This project is licensed under the MIT License - see the LICENSE file for details.
- π Star this repo
- π Report bugs
- π Request features
- π Wiki
- Mail.tm for the API
- Python community
- All contributors
Made with β€οΈ by RG Team