I’ve been stuck home with a bad flu for the last few days. The headache and paracetamol intoxication impacted my abilities and willpower, to the point that the only productive thing I did was polishing my backup strategies.
I added duplicity to my Time Machine setup for day-to-day backups. I also found a way to backup my GMail account using getmail. Getmail is written in Python, so I looked a little bit into the libraries that can be used to interact with IMAP. It’s actually very easy to retrieve messages or other statistics; so I had to do something with it.
You’re asking why? Why? Because I love data! I love data like Tarantino likes making movies.
I wrote a script that periodically logs the headers of flagged messages in my inbox, and another that reads the logged data, and plots a couple of statistics: stress, defined as the number of flagged messages; and procrastination, defined as the median age of those messages.
Here’s a snapshot of the result:
For now, I only have three days of data, but you can see it live on my webpage and track my stats in the future.
This is especially useful if you’re waiting for an answer from me!