Gmvault
From Hack Sphere Labs Wiki
sudo apt-get install python-pip aptitude install build-essential easy_install -U distribute sudo pip install gmvault
gmvault sync user@gmail.com --db-dir /dest/dir/ --check-db no --check-db no # will make it after you delete emails it will not erase them