macOS
brew install mail-deduplicatelocal Homebrew formula metadata
brew
CLI to deduplicate mails from mail boxes. Version 8.1.2 via Homebrew; verified 2026-05-22.
install
brew install mail-deduplicatelocal Homebrew formula metadata
overview
CLI to deduplicate mails from mail boxes
history
Mail Deduplicate provides the `mdedup` CLI for finding and acting on duplicate messages across mailbox formats. Official docs describe support for mbox, maildir, babyl, mh, and mmdf, with duplicate detection based on normalized mail headers plus configurable safeguards.
The GitHub repository was created in March 2013 by Kevin Deldycke. The project presents itself as a maintained Python command-line utility rather than a mail-client plugin: it reads mailboxes, hashes normalized headers and optionally body content, groups duplicates, applies a selection strategy, and then copies, moves, or deletes selected messages.
Its later documentation shows a mature packaging setup around the `mdedup` executable: cross-platform Python support, Homebrew installation, shell completion, standalone executables for Linux, macOS, and Windows, and a documented TOML configuration system.
The official documentation states that `mdedup` is part of Homebrew's default tap, and the README badges point users to PyPI versioning and download statistics. The input package-manager facts confirm Homebrew packaging.
Repository metadata shows a smaller but durable utility audience, with active updates into 2026 and almost two hundred GitHub stars. That adoption pattern fits a focused maintenance tool: not a mass-market app, but a packaged command that users reach for when mailbox archives need cleanup.
Typical usage starts with `uvx --from mail-deduplicate -- mdedup`, `brew install mail-deduplicate`, or a standalone binary. Users point the command at mailbox sources, choose deduplication strategies such as size, content, timestamp, path, or random choice, and run a dry run before moving or deleting duplicates.
The docs are unusually explicit about tradeoffs: the implementation keeps data in memory and is considered naive but adequate for mailbox volumes of a few gigabytes. For package users, that warning is important operational documentation, because it tells them when the simple CLI is enough and when very large archives need caution.
Mail Deduplicate is a good example of a niche CLI becoming package-manager-worthy by handling old mailbox formats and modern packaging expectations at once. It does not try to be a mail client; it is a scriptable maintenance tool with predictable inputs, dry-run support, and standalone builds.
The package is also interesting because its core duplicate logic is documented rather than hidden: the project explains why Message-ID alone is insufficient, how mailing lists perturb headers and bodies, and why size/content safeguards are needed before deleting mail.
security posture
No matching local secret-handling manifest was found for mail-deduplicate. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/Library/Application Support/mdedup/~/.config/mdedup/C:\Users\<user>\AppData\Roaming\mdedup\executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mdedup | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://kdeldycke.github.io/mail-deduplicate/
install metadata
| Package key | brew:mail-deduplicate |
|---|---|
| Version | 8.1.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mail-deduplicate |
| Homepage | https://kdeldycke.github.io/mail-deduplicate/ |
| Repository | https://github.com/kdeldycke/mail-deduplicate |
| Upstream docs | https://kdeldycke.github.io/mail-deduplicate |
| License | GPL-2.0-or-later |
| Source archive | https://files.pythonhosted.org/packages/0c/0c/0e83bc1a549394b6c372caa8e6e5859020d23f470362d02276f1d2d56645/mail_deduplicate-8.1.2.tar.gz |
| Last updated | 2026-05-22T10:11:45Z |
| Pulse | updated |
| Dependencies | certifi, libyaml, python@3.14 |
| Build dependencies | rust |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mail-deduplicate |
| Version Scheme | 0 |
| Revision | 5 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.