- ✉️ Generates a specified number of random email addresses
- 📄 Outputs the email list to a text file
- 📚 Uses diverse name data for authentic-looking email addresses
The name data used in MailGen is sourced from the following GitHub repository:
- Repository: danielmiessler/SecLists We use the following files from this repository:
This diverse set of name data allows for the generation of a wide variety of realistic email addresses.
To use MailGen, run the script with the following command:
python mailgen.py -n [NUMBER_OF_EMAILS] -o [OUTPUT_FILE]
For example:
python mailgen.py -n 100 -o emails.txt
This will generate 100 random email addresses and save them to emails.txt
.
Running the tool with no command will output 100 random emails to emails.txt
.
In this repo the email list is automatically updated every 24h hour using GitHub Actions. You can find the latest generated list in the emails.txt
file in this repository.
This list contains 300 randomly created emails from the top 10 email providers.
- Python 3.8+
requests
libraryfaker
library
To install the required libraries, run:
pip install requests faker
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.