How can you detect tracking pixels?
<img src="https://www.bhphotovideo.com/bimages/email-icons/1pximgfortracking.jpg?email=status" />
Detecting them automatically is probably tricky, but you can avoid the entire problem by not loading external resources in HTML emails (or, better yet, always load the plaintext version of the email.)