TempMail is a simple web application that allows you to generate temporary email addresses and view the emails received by these addresses.
Protect your privacy with instant disposable email addresses
[!IMPORTANT]
ALL CODE FOR THIS WEBSITE IS COPYRIGHTED. YOU CANNOT USE THESE CODES AND OPEN ANOTHER WEBSITE IN THE SAME WAY. IT IS BEING TRACKED WITH VARIOUS TOOLS AND IF IT IS OPENED, A DMCA VIOLATION WILL BE SENT WITH MY LAWYER. SCANS ARE CARRIED OUT REGULARLY WITH VARIOUS TOOLS.PLEASE READ THE LICENSE
TempMail V2 is a cutting-edge temporary email solution designed for privacy-conscious users. Generate disposable email addresses instantly to protect your primary inbox from spam, tracking, and unwanted communications. Built with modern web technologies, TempMail V2 offers a sleek, responsive interface with powerful features like real-time inbox updates, dark mode, and seamless email management.
Experience TempMail V2 in action:
Clone the repository
git clone https://github.com/mehmetkahya0/temp-mail.git
Navigate to the project directory
cd temp-mail
Launch with your preferred method:
Option 1: Open index.html directly in your browser
Option 2: Use a local development server
If you have Node.js installed:
# Install Live Server globally
npm install -g live-server
# Start the server
live-server
Access the application
Open your browser and navigate to:
http://127.0.0.1:8080
(if using Live Server)temp-mail/
βββ css/
β βββ style.css # Main stylesheet with theming and responsive design
βββ js/
β βββ api.js # API interactions and email functionality
β βββ config.js # Configuration and constants
β βββ theme.js # Theme switching functionality
βββ images/
β βββ banner.png # Project banner image
β βββ header.png # Header image
β βββ temp-mail-icon.png # Application icon
βββ privacy/
β βββ privacy.css # Privacy page styling
β βββ privacy.html # Privacy policy content
βββ index.html # Main application entry point
βββ manifest.json # PWA manifest file
βββ robots.txt # Search engine directives
βββ sitemap.xml # Site structure for search engines
βββ LICENSE # MIT license with commercial restrictions
βββ README.md # Project documentation
TempMail V2 uses a secure pseudorandom generation system to create unique email addresses. The system leverages the Guerrilla Mail API, ensuring high deliverability and compatibility with most services.
// Email generation example (simplified)
const randomStr = Math.random().toString(36).substring(2, 8);
const domain = CONFIG.DOMAINS[Math.floor(Math.random() * CONFIG.DOMAINS.length)];
// Result: randomStr@domain
The application features a sophisticated theming system using CSS variables and JavaScript. User preferences are stored in localStorage for persistence across sessions:
// Theme switching
if (darkMode) {
document.documentElement.setAttribute('data-theme', 'dark');
localStorage.setItem('theme', 'dark');
} else {
document.documentElement.setAttribute('data-theme', 'light');
localStorage.setItem('theme', 'light');
}
The inbox system provides real-time updates, efficient search capabilities, and intuitive email management:
TempMail V2 is highly customizable to suit your needs:
API Provider
CONFIG.API_BASE
in js/config.js
to use a different email API providerAvailable Domains
DOMAINS
array in js/config.js
to add or remove email domainsUI Theming
css/style.css
Auto-Refresh Intervals
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)See the open issues for a list of proposed features and known issues.
This project is licensed under the Special License with specific commercial restrictions - see the LICENSE file for details.
Important: While you can use this project for personal and educational purposes, commercial use requires explicit permission from the project author.
β οΈ Disclaimer: This project is purely for educational purposes. We do not allow illegal activities to be performed using this project and are not responsible for any incidents that may occur. Use it legally and responsibly.