Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your local computer. It uses the standard IMAP protocol but also takes advantage of some custom Gmail IMAP extensions. This repository also extends the default behavior of the tool to import EML messages onto the server (with dates intact).