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 works by stripping out a good majority of these 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.
<img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src=
-"https://mailtrack.io/trace/mail/0eabccbe98c98e9b8e9a8b89eab89ce9ab89e8bc.png?u=1234567"
+"https://localhost/mail/0eabccbe98c98e9b8e9a8b89eab89ce9ab89e8bc.png?u=1234567"
>
Apple Mail on macOS 10.11 - 11.x.
Recommended Installation via Homebrew Cask
You can install MailTrackerBlocker.pkg
directly from the releases page but I strongly recommend installing as an Homebrew Cask for ease of updating.
$ brew install apparition47/tap/mailtrackerblocker
- Open Mail, goto
Preferences > General > Manage Plug-ins... > check "MailTrackerBlocker.mailbundle" > Apply and Restart Mail
. - Tap on the
ⓧ
button to find out what was blocked.
If you installed with Homebrew:
$ brew uninstall mailtrackerblocker
If you installed the pkg
manually:
osascript -e "quit app \"Mail\""
rm -r /Library/Mail/Bundles/MailTrackerBlocker.mailbundle
sudo pkgutil --forget com.onefatgiraffe.mailtrackerblocker
git clone https://github.com/apparition47/MailTrackerBlocker.git
cd MailTrackerBlocker
make
- Give Xcode
Full Disk Access
fromSystem Preferences > Security & Privacy > Privacy > Full Disk Access
and add Xcode.- Required because the mailbundle needs to be installed into
/Library/Mail/Bundles
.
- Required because the mailbundle needs to be installed into
- Open the Xcode project, hit build.
- GPGMail team for their work on Mail.app plugins
- @dhh for the spy pixel tracker block list used in HEY and @leggett for his Simplify Gmail list
- @bitmanic for the UI design
BSD-3.