/csv-from-mbox

Python script for extracting emails contained in the 'from' field of your mailbox from an .mbox file.

Primary LanguagePythonMIT LicenseMIT

Python script to extract emails from an .mbox file.

Python script for extracting emails contained in the 'from' field of your mailbox from an .mbox file. Install the package using pip install, run the script, paste the input directory, paste the output directory -> done.

All the emails that contain one of the following are filtered out: noreply, no-reply, do-not-reply, do_not_reply.

How to use:

To install csv-from-mbox using pip install:

pip install csv-from-mbox

To execute the script enter:

csv-from-mbox

You'll be prompted to specify the input path, for example to use an .mbox file in your current directory named mail.mbox, you would paste:

./mail.mbox

You'll be prompted to specify the output path, for example to output the .csv file into your current directory and name it emails.csv, you would paste:

./emails.csv

Thank you and have fun!