Simple tool to backup a Gmail account.
- Does a full sync using the Gmail API.
- Saves only message contents, not metadata such as labels.
- Message saved in EML format, which just the raw email data in RFC2822 format.
- Restore functionality not yet implemented.
If the rate limits on the default client id becomes a problem you can create your own client id in the Google Cloud Console.
Drop the client credentials JSON file in
$XDG_CONFIG_HOME/gmbackup/credentials.json
.