Looking for E-Mail recipients from all the wrong places.

Sometimes we need to understand everyone who has been in our email chains across some period of time. We need to collect all the recipients in a group of emails into a form they can be analyzed.

Our program reads a date range of emails from an IMAP mailbox and then
  1. Extracts the Sender, To, CC, BCC, From, Reply-To 
  2. Extracts the message-id and Subject line
  3. Creates a combined list of the unique email addresses from the 6 fields above.
  4. Filters the combined list to remove any trusted addresses or domains.
  5. Writes out a CSV with those 10 fields.


The original purpose of this program was to see if unwanted parties had inserted themselves into any email threads over some period of time.

Code

This simple python program extracts recipient information from mailboxes and writes it to CSV files. The program can also ignore trusted addresses or domains.  

  • https://github.com/freemansoft/email-address-analyzer-python

Video

A quick overview of the program 



Created 2022 02

Comments

Popular posts from this blog

Understanding your WSL2 RAM and swap - Changing the default 50%-25%

Accelerate Storage Spaces with SSDs in Windows 10 Storage Pool tiers

Java 8 development on Linux/WSL with Visual Studio Code on Windows 10