What?
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.
- When was my first email received?
- Which day of the month I get the most emails?
- How many emails did I get in total?
- Who are the top senders?
- etc...
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.
Download
Please check the GitHub repository for more information.Usage
$ 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
Conclusion
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 🎉.