imap-backup
brew install imap-backup
v16.6.0
MIT
Backup GMail (or other IMAP) accounts to disk
32
30-day installs · #5635
84
90-day · #5973
989
365-day · #3860
1.7k
★ GitHub stars · updated 4mo ago
Runtime dependencies
GitHub topics
backup
imap
ruby
Links
- https://github.com/joeyates/imap-backup
- GitHub: joeyates/imap-backup
- Brew formula source: Formula/i/imap-backup.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"ruby"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Backup GMail (or other IMAP) accounts to disk",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:38:48+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "imap-backup",
"github_default_branch": "main",
"github_last_commit_at": "2026-03-30T14:41:16Z",
"github_readme_excerpt": "\n[][CI Status]\n\n\n[][GitHub Stars]\n\n\n# imap-backup\n\nBackup, restore and migrate email accounts.\n\n# Quick Start\n\n```sh\nbrew install imap-backup # for macOS\ngem install imap-backup --no-document # for Linux\nimap-backup setup\nimap-backup\n```\n\n# Modes\n\nThere are two types of backups:\n\n* Keep all (the default) - progressively saves a local copy of all emails,\n* Mirror - adds and deletes emails from the local copy to keep it up to date with the account.\n\n# What You Can Do with a Backup\n\n* Copy - copy messages from one account to another, tracking copies in order to avoid duplicates.\n* Restore - push the local copy back to the original account.\n\nSee below for a [full list of commands](#commands).\n\n# Installation\n\n\u003cdetails\u003e\n\u003csummary\u003eDocker or Podman\u003c/summary\u003e\nIf you have Docker or Podman installed, the easiest way to use imap-backup\nis via the container image.\n\nYou\u0027ll need to choose a path on your computer where your backups will be saved,\nwe\u0027ll use `./my-data` here.\n\nIf you have just one account, you can do as follows\n\n```sh\ndocker run \\\n --volume ./my-data:/data \\\n --dns 8.8.8.8 \\\n ghcr.io/joeyates/imap-backup:latest \\\n imap-backup single backup \\\n --email me@example.com \\\n --password mysecret \\\n --server imap.example.com \\\n --path /data/me_example.com\n```\n\nPodman will work exactly the same.\n\nNotes:\n\n* If you\u0027re using Docker, add `--user $(id -u):$(id -g)` so that the files\n created by the ",
"github_repo": "joeyates/imap-backup",
"github_stars": 1696,
"github_topics": [
"backup",
"imap",
"ruby"
],
"homepage": "https://github.com/joeyates/imap-backup",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 32,
"installs_365d": 989,
"installs_90d": 84,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "MIT",
"llm_generated_at": null,
"llm_model": null,
"name": "imap-backup",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 5635,
"rank_365d": 3860,
"rank_90d": 5973,
"raw_hash": "5aec15ab066c2ed4",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/i/imap-backup.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [
"libffi"
],
"version_head": null,
"version_stable": "16.6.0",
"versioned_formulae": [],
"why_use_this": null
}