Sometimes I worry that all my emails are stored on Google's servers and if they ever lost them, then I would be hurting in a bad way. And it would only be my own fault because I had never backed them up anywhere.
So I wrote a simple Python script to download all my emails and save them in files on my local hard drive.
Here it is on GitHub: https://github.com/abjennings/gmail-backup