MailTrackerBlocker is a macOS Apple Mail plugin (i.e. mailbundle) to block read trackers disguised as "spy pixels".
Most commercial trackers can be reliably blocked through a blacklist of known URL patterns. Failing that, MailTrackerBlocker applies a generic regex filter for 1x1 images. Read more about how email pixel tracking works.
<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"
>
Only tested on Apple Mail 13.4 on macOS 10.15 Catalina.
- Goto https://github.com/apparition47/MailTrackerBlocker/releases
- Download then open the
.pkg
to install. - In Xcode, open
Preferences > General > Manage Plug-ins... > check "MailTrackerBlocker.mailbundle" > Apply and Restart Mail
- Tap on the
๐ #
button to find out what was blocked.
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.- Need this because the plugin needs to be installed into the Mail Apps bundles at
~/Library/Mail/Bundles
.
- Need this because the plugin needs to be installed into the Mail Apps bundles at
- Open the Xcode project, hit build.
- Mail.app hooking from GPGMail
- Tracker blocking list from @dhh