Mail Archiver This tool can be used to archive a GMail account before shutting it down. Use it like this: apt-get install isync ./create_archive.rb user@gmail.com You'll be asked for a password, and then it'll get on with its thing.