A guide to downloading your Gmail using offlineimap and a few examples on how to explore the data using pandas inside of an ipython notebook.