Skip to main content

Extracts email addresses from MBOX files

Project description

Email Address extractor by Daedal Systems

This is a program that allows you to read all email addresses from your mailbox and creates the following output files for you.

  1. It will create a list of all distinct email senders and give a count of how many emails each one of them have sent you in the past
  2. It will also generate a list of distinct email senders without the count.

The package has two modules:

  1. mboxwriter - It writes all the email senders from the mailbox and writes them into a file. It takes in two parameters namely mbox and output. The mbox parameter is for the path where the mailbox is present. The output parameter is providing the path where output file will be stored.
  2. createmailerlist - It cleans the output file (or any file that has only email addresses) and creates two further output files storing email addresses and number of emails coming from them followed by a second file with just a list of distinct emails. This module needs 5 parameters to run but only one of them is mandatory. Below mentioned are the parameter details. input - mandatory parameter. User enters the path of the input file. This will be the path for file with email addresses emailsonly = Optional parameters. If you leave blank, it'll default to 'uniquemails.txt' emailswithcnt = Optional parameter. If you leave it blank, it will not generate the file where you get email senders alond with the number of emails sent by them. dir = optional parameter. Will save the files to current working directory if not filled in. invalid = optional parameter. This will allocate the selected value to the invalid emails. If left blank, it'll default to 'invalid email'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

EmailAddressExtractor_DS-0.1.3.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

EmailAddressExtractor_DS-0.1.3-py3-none-any.whl (3.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page