Back up your entire Gmail account before switching to a new email service.
Restore lost emails after accidentally deleting a Gmail account.
Keep an offline, searchable archive of your email history.
| gaubert/gmvault | byt3bl33d3r/mitmf | lucasjinreal/tensorflow_poems | |
|---|---|---|---|
| Stars | 3,639 | 3,639 | 3,638 |
| Language | Python | Python | Python |
| Setup difficulty | easy | hard | moderate |
| Complexity | 2/5 | 4/5 | 3/5 |
| Audience | general | ops devops | researcher |
Figures from each repo's GitHub metadata at analysis time.
Gmvault is a command-line tool for backing up and restoring a Gmail account. It connects to your Gmail inbox, downloads all your emails, and saves them to a folder on your computer. If you ever need to move your mail to a different Gmail account or recover from an account problem, you can use the same tool to push those saved emails back up. The tool runs on Windows, Mac, and Linux. On Windows there is a shell launcher included. On other platforms you run it directly from the command line. Installation is available as a prebuilt download from the project website, as a pip install, or from the source code on GitHub. Authentication uses OAuth, which means you authorize the app through Google's standard login flow rather than storing your password in plain text. The token gets saved locally after the first login so you do not have to authenticate again each time. A password-based option also exists for quick testing but the README recommends OAuth as the safer choice. Running a full backup is one command: gmvault sync followed by your Gmail address. An incremental sync option downloads only the emails added or changed since the last run. Backed-up mail is stored in a local directory called gmvault-db by default, with an option to choose a different location. Restoring sends the contents of that directory to any Gmail account you specify, and a resume option lets you pick up where you left off if a previous restore was interrupted. The project is open source under the GNU AGPL 3.0 license.
A command line tool that backs up and restores your Gmail account to a local folder, so you never lose your email history.
Mainly Python. The stack also includes Python, OAuth.
Free to use, modify, and share, but any modified version you distribute must also be open source under the same AGPL license.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly general.
This repo across BitVibe Labs
Verify against the repo before relying on details.