thunderbirdthunderbird-addon

Collect Senders Email Addresses From Specific Folder At Thunderbird


as my title mentioned I am searching for a solution to get all email addresses that I have received from people and saved inside a certain folder in my Thunderbird.

I need them for marketing purposes, because those email addresses belong to people I have done business with.

Thanks for help.

Best RS


Solution

  • You can use Message Filter in order to organize your messages.

    Read this article: https://support.mozilla.org/en-US/kb/organize-your-messages-using-filters

    Updated:

    Select all the emails in that folder and saved them on a directory as a *.eml file format.

    In the terminal: cd /path/to/eml/directory Then run:

    find . -type f -exec cat {} \; | nl | grep "From" | grep -o '[[:alnum:]+\.\_\-]*@[[:alnum:]+\.\_\-]*' | uniq -ui | sort > collected-emails.csv
    

    Now, All the collected emails will be saved in collected-emails.csv