un / inbox

Modern email for teams and professionals. A replacement for outdated email technology and tools. Alt to hey.com, front.com, missiveapp.com
https://uninbox.com
Other
1.44k stars 110 forks source link

feat(mailtools): improve removal of email trackers #119

Open McPizza0 opened 7 months ago

McPizza0 commented 7 months ago

currently the mail parser removes simple tracking pixels by the size of the image or by known urls(only one for now) we should expand the list of URLs to include other known trackers.

heres some links to other URL lists: https://github.com/Foundry376/Mailspring/blob/e7daf5abf255aedfceadb33ef7209dc9101074a0/app/internal_packages/remove-tracking-pixels/lib/main.ts#L42 https://github.com/leavemealone-app/email-trackers/blob/master/trackers.txt https://github.com/nylas/nylas-mail/blob/e16cb1982e944ae7edb69b1abef1436dd16b442d/packages/client-app/internal_packages/remove-tracking-pixels/lib/main.es6#L32 https://github.com/leggett/simplify-trackers/blob/56f01d5d96e7f0f09f4a664c5faafba52a2e1fce/ruby/Trackers.rb#L70 https://github.com/OneClickLab/ugly-email-trackers/blob/master/list.txt

we should check the license on each of these, and use as many as we can

babblebey commented 7 months ago

Changes be made in this file and related!?

https://github.com/un/inbox/blob/main/packages/mailtools/src/blockRemoteContent/index.ts

🤔