Christopher Allan Webber

Email statistics with mu

Christopher Allan Webber at

cwebber@earlgrey:~/devel/mediagoblin$ mu msgs-per-year  --query="date:2005...2014 AND NOT (maildir:/Spam OR maildir:/sent-to-misc)"


80000 ++-+------+------+-----+------+------+------+-----+------+------+-++
| + + + "/tmp/filefa5UR6" using 2:xticlabels(1) ****** |
70000 ++ ******* ******** ++
| * * ** * |
60000 ++ * * ** * ++
| ******** * ** * |
50000 ++ * ** * ** * ++
| * ** * ** ********
40000 ++ * ** * ** ** +*
| * ** * ** ** *
| * ** * ** ** *
30000 ++ ******** ** * ** ** +*
| * ** ** * ** ** *
20000 ++ * ** ** * ** ** +*
| * ** ** * ** ** *
10000 ++ ******* * ** ** * ** ** +*
******** + * + ******** + ** + ** + * + ** + ** + *
0 ********************************************************************
2005 2006 2007 2008 2009 2010 2011 2012 2013 2014
Year

cwebber@earlgrey:~/devel/mediagoblin$ mu msgs-per-year --query="maildir:/sent-to-misc"


Messages per year matching maildir:/sent-to-misc

2500 ++-+------+------+------+------+-----+------+------+------+------+-++
| + + + "/tmp/filecLaWOi" using 2:xticlabels(1) ****** |
| ******* |
2000 ++ * * ++
| * * |
| ******** * |
| * ** * |
1500 ++ * ** ******** ++
| * ** ** * |
| * ** ** * |
1000 ++ * ** ** * ++
| ************** ** ** ********
| * * ** ** ** ** *
| * * ** ** ** ** *
500 ++ ******** * ** ** ** ** +*
******* * ** * ** ** ** ** *
* + **************** + ** + * + ** + ** + ** + ** + *
0 *********************************************************************
2005 2006 2007 2008 2009 2010 2011 2012 2013 2014
Year


Not sure what those extra asterisks are or why it's spitting out the filenames... not perfect graphs, but kind of cool to look at. The first one is email I receive, second one is email I sent.

Notably, I've peaked at both in 2012. That's reasonable... I left CC in 2012 to work on MediaGoblin full time, so I stopped sending/receiving CC email. (I also started at CC in 2009, but became more manager'y through end of 2011->2012, more emails sent!)

Cool fact: these are builtin scripts, but scripted with mu's guile bindings. I haven't played with them yet but looks like you can do fun things.

Lastly, this is curious:

cwebber@earlgrey:~/devel/mediagoblin$ mu msgs-per-month --query="maildir:/sent-to-misc"
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/share/mu/scripts//msgs-per-month.scm
;;; compiled /home/cwebber/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/mu/scripts/msgs-per-month.scm.go


Messages per month matching maildir:/sent-to-misc

950 ++-+-----+----+-----+-----+-----+----+-----+-----+-----+----+-----+-++
| + + + + "/tmp/filema91Nu" using 2:xticlabels(1) ****** |
900 ++ ****** ++
| * * |
850 ++ * ******* ++
| ************ ** * ****** |
800 ++ * ** * ** * * * ++
| * ** * ** * * ******* |
750 ++ * ** * ** ******* * ** * ++
| * ** * ** ** * ******* ** * |
| * ** * ** ** ******* ** ** * |
700 ++ * ** * ** ** ** * ** ** * ++
| * ** * ** ** ** * ** ** * |
650 ++ ******* ** * ** ** ** * ** ** * ++
| * ** ** * ** ** ** * ** ** * |
600 ******* ** ** * ** ** ** * ** ** *******
* + ** + ** + ** + * + ** + ** + ** + * + ** + ** + ** + *
550 **********************************************************************
Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
Month

Looks like I'm half as talkative towards the start/end of the year as I am otherwise. Huh.
Also, I guess if you send me email, I probably will not reply on weekends.

cwebber@earlgrey:~/devel/mediagoblin$ mu msgs-per-day --query="maildir:/sent-to-misc"
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /usr/share/mu/scripts//msgs-per-day.scm
;;; compiled /home/cwebber/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/mu/scripts/msgs-per-day.scm.go


Messages per weekday matching maildir:/sent-to-misc

1700 ++---+---------+--------+---------+---------+--------+---------+---++
| + + "/tmp/fileZIoz5g" using 2:xticlabels(1) ****** |
1600 ++ ********************* * ++
1500 ++ * ** ** * ++
| * ** ** *********** |
1400 ++ * ** ** ** * ++
| * ** ** ** *********** |
1300 ++ * ** ** ** ** * ++
1200 ++ * ** ** ** ** * ++
| * ** ** ** ** * |
1100 ++ * ** ** ** ** * ++
| * ** ** ** ** * |
1000 ++ * ** ** ** ** * ++
| * ** ** ** ** * |
900 ++ * ** ** ** ** * ++
800 ++ * ** ** ** ** * ++
*********** + ** + ** + ** + ** + * + |
700 ***********************************************************----+---++
Sun Mon Tue Wed Thu Fri Sat
Day

Christopher Allan Webber at 2014-09-25T22:48:36Z

That is neato! Kinda makes me want to keep my mail to figure out my own patterns.


I delete all my mail older than a month, each month. I was just keeping too many naked pics, saw all my political aspirations spiraling downward. ^_^

maiki at 2014-09-25T23:38:40Z