Skip to content
@mailcellar

mailcellar

mailcellar

Local backups of Gmail accounts, kept as an archive you control: back mail up in Got Your Back's format, remove duplicates, move old mail out of Gmail while the backup keeps it, put it back when it's needed, and report on what's there.

The project

mailcellar/mailcellar is one Python package behind one mailcellar command:

Command What it does
backup, count, meta, verify Incremental backups, a comparison with Gmail, and a check that the files are intact
dedup Find duplicate messages within and across accounts and remove them from Gmail, in stages
offload Take old mail out of Gmail by rule, keeping it in the backup
restore Put backed-up mail back into Gmail
report Storage, bulk mail, volume, threads, labels, correspondents, backup health

Anything that changes Gmail is a dry run first, then an explicit flag, and nothing is ever deleted permanently from Gmail.

Start here

Mail is personal data

Issues, pull requests and discussions here are public. Please never post real mail, addresses, names, subjects, tokens or client_secrets.json; use placeholders such as [email protected]. For a security problem, report it privately: see SECURITY.md.

About

Licensed under the Apache License 2.0. mailcellar is a separate project from Got Your Back and is not affiliated with or endorsed by Google or the gyb project. Gmail and Google Workspace are trademarks of Google LLC.

Pinned Loading

  1. mailcellar mailcellar Public

    Gmail storage full? Back up Gmail and Workspace accounts locally, move old mail out by rule, and keep it searchable and restorable, in tamper-evident backups with legal holds and retention. Reads a…

    Python 1

Repositories

Showing 2 of 2 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…