Email tracker, read receipt and spy pixel blocker plugin for macOS Apple Mail
MailTrackerBlocker is a plugin (mailbundle) for the default Mail app built-in to macOS. Email marketers and other interests often embed these trackers in HTML emails so they can track how often, when and where you open your emails. This plugin labels who is tracking you and strips out spy pixels out of the HTML before display, rendering the typical advice of disabling "load remote content in messages" unnecessary.
Browse your inbox privately with images displayed once again.
Be informed. Say No To Spy Pixels.
Apple Mail on macOS 10.11 - 11.x.
(macOS 12 and newer users should enable the built-in Mail Privacy Protection instead!)
You can install
MailTrackerBlocker.pkgdirectly from the releases page or via Homebrew Cask:
$ brew install mailtrackerblocker
Preferences > General > Manage Plug-ins... > check "MailTrackerBlocker.mailbundle" > Apply and Restart Mail. Note that you'll need to do this again for each update.
ⓧbutton to find out what was blocked.
⚠️ Disabling "load remote content in messages" with MailTrackerBlocker enabled is redundant; re-enable this option for the best experience.
If you installed with Homebrew:
$ brew uninstall mailtrackerblocker
If you installed the
osascript -e "quit app \"Mail\"" # plugin files sudo rm -r /Library/Mail/Bundles/MailTrackerBlocker.mailbundle sudo rm -r /Library/Application\ Support/com.onefatgiraffe/mailtrackerblocker sudo pkgutil --forget com.onefatgiraffe.mailtrackerblocker # user-generated settings rm -r ~/Library/Containers/com.apple.mail/Data/Library/Application\ Support/com.onefatgiraffe.mailtrackerblocker defaults delete com.apple.mail _mtb_IsAutoUpdateCheckAllowed defaults delete com.apple.mail _mtb_IsFirstStartup defaults delete com.apple.mail _mtb_LastUpdateCheckDate
Typically caused by Mac migration or restoration from backup. Delete Mail's private plugin-ins dir (or DataVaults) to fix this issue. This dir will automatically be regenerated afterwards.
Building will automatically install a copy into your
/Library/Mail/Bundles/dir so if you have a current installation from the public pkg installer, you'll need to remove it due to permissions:
$ rm -rf /Library/Bundles/MailTrackerBlocker.mailbundle.
git clone https://github.com/apparition47/MailTrackerBlocker.git --recursive
You'll need to edit
Makefileand specify your own
Developer ID Application(used to sign the plugin binary [for macOS 11 and up]) and
Developer ID Installer(used to sign the pkg) certificates.
build, sign binary and make pkg
Full Disk Accessfrom
System Preferences > Security & Privacy > Privacy > Full Disk Accessand add Xcode.
Signing & Capabilities(macOS 11 and up: you'll need to use your own
Developer ID Applicationcertificate; below macOS 11: set it to none/don't sign) then hit build.
Finderaccess to allow Xcode to copy unsigned directly into sandboxed env