Skip to content

This tool extracts attachments from emails saved in .eml format. It's designed to run on macOS and other Unix-like systems.

License

Notifications You must be signed in to change notification settings

montarist/email-attachment-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Email Attachment Extractor

Python application test

Overview

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.

Features

  • 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.

Prerequisites

  • Python 3.8 or newer

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/email-attachment-extractor.git
    cd email-attachment-extractor
  2. Install the necessary dependencies:

    pip install -r requirements.txt

Usage

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.

Contributing

Contributions are welcome. Please fork the repository and submit a pull request with your enhancements.

License

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

About

This tool extracts attachments from emails saved in .eml format. It's designed to run on macOS and other Unix-like systems.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages