Automic VaultAutomic Vault

brew

Install mail-deduplicate with Homebrew

CLI to deduplicate mails from mail boxes. Version 8.1.2 via Homebrew; verified 2026-05-22.

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install mail-deduplicate

local Homebrew formula metadata

overview

Package summary

CLI to deduplicate mails from mail boxes

Commands and aliases

  • mdedup

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2013: Public GitHub repository created.
  • 2020: Historical GitHub releases were published for v2 through v5 series.
  • 2023: v7.x releases continue the maintained CLI line.
  • 2024: Documentation shows Homebrew default-tap installation and standalone executables.
  • 2025: v8.x releases published.
  • 2026: Repository metadata shows active maintenance.

Related projects

  • Mail Deduplicate belongs to the mailbox-maintenance family of tools around mbox, maildir, mh, babyl, and mmdf formats.
  • Its design references common mail infrastructure behavior such as mailing-list footers, Message-ID unreliability, and MTA-added headers.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 3 runtime dependencies.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

macOS
~/Library/Application Support/mdedup/
Unix
~/.config/mdedup/
Windows
C:\Users\<user>\AppData\Roaming\mdedup\

executables

Installed executables

CommandKindExposureNote
mdedupcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version8.1.2
manager updated2026-05-22
local dataok
upstreamnot checked
latest detectednot detected

https://kdeldycke.github.io/mail-deduplicate/

install metadata

Package metadata

Package keybrew:mail-deduplicate
Version8.1.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mail-deduplicate
Homepagehttps://kdeldycke.github.io/mail-deduplicate/
Repositoryhttps://github.com/kdeldycke/mail-deduplicate
Upstream docshttps://kdeldycke.github.io/mail-deduplicate
LicenseGPL-2.0-or-later
Source archivehttps://files.pythonhosted.org/packages/0c/0c/0e83bc1a549394b6c372caa8e6e5859020d23f470362d02276f1d2d56645/mail_deduplicate-8.1.2.tar.gz
Last updated2026-05-22T10:11:45Z
Pulseupdated
Dependenciescertifi, libyaml, python@3.14
Build dependenciesrust
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemail-deduplicate
Version Scheme0
Revision5
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment