Home | Blog | Projects
Last Updated: 27/dec/2019

Introducing Gmail Analyzer

Added on 27/Dec/2019


I've been using Gmail for a while. I think it was more than 5 years ago.

The first email I ever created was on Hotmail (which was later acquired by Microsoft, rebranded as Windows Live Hotmail, and currently it's replaced by Outlook.com).

Anyway, I wanted a way to get more information about my Gmail account. E.g.

And thus, Gmail Analyzer was born

I hacked something quick that used the Gmail API, a data analysis library and a bunch of cool terminal graphs.

Vid.1 - Gmail Analyzer in action.


Please check the GitHub repository for more information.


$ python analyzer.py -h
usage: analyzer.py [-h] [--top TOP] [--user USER] [--verbose] [--version]

Simple Gmail Analyzer

optional arguments:
  -h, --help   show this help message and exit
  --top TOP    Number of results to show
  --user USER  User ID to fetch data for
  --verbose    Verbose output, helpful for debugging
  --version    Display version and exit


It was fun to work on this project. It just scratches the surface of what can be done (NLP analytics, more filtering based on labels, analyze a certain sender...).

But this answers some of my questions. And the first email I got on Gmail was on Tue, 5 Feb 2013 12:19:00 -0800. Ha! That's a few months shy of 7 years 🎉.

✉️ Subscribe via email
Thanks for Subscribing!
Subscription failed. Please try again later.