This tool extracts attachments from emails stored in .eml files. It is designed to be simple to use and effective at handling large batches of emails.
- Extract attachments from .eml files in a specified directory.
- Save attachments to a designated output directory.
- Handle filename conflicts by appending a counter to the existing filename.
- Python 3.8 or newer
-
Clone the repository:
git clone https://github.com/yourusername/email-attachment-extractor.git cd email-attachment-extractor
-
Install the necessary dependencies:
pip install -r requirements.txt
To run the tool, execute the following command from the terminal:
./app -i <input_directory> -o <output_directory>
Replace <input_directory>
and <output_directory>
with the paths to your directories where the .eml files are stored and where you want the attachments to be saved, respectively.
Contributions are welcome. Please fork the repository and submit a pull request with your enhancements.
This project is licensed under the MIT License - see the LICENSE file for details.