Mail Trends

Mail Trends lets you analyse and visualize your email (as extracted from an IMAP server). You can see:

  • Distribution of messages by year, month, day, day of week and time of day.
  • Distribution of messages by size and your top 40 largest messages
  • The top senders, recipients and mailing lists you’re on.
  • Distributions of senders, recipients and mailing lists over time
  • The distribution of thread lengths and the lists and people that result in the longest threads

Oh September…

This package was modified from the original in order to fix some errors and to add support for a larger amount of servers, email origins, and the mailbox format.

In particular, the mail-trends will scan for all mailboxes and present global stats.

For GMAIL, it may produce duplicate stats unless you filter results to only consider the “All Mail” folder.

Example usage:

./ --username=guest --password=1234 --use_ssl

or reading a local Maildir folder

./ --maildir=~/Mail

For the original version, please see Mihai Parparita github repository

Get the source code from here