There is odd behaviour with message tracking this related due to:
- CDNs cache the image pixel across multiple proxies resulting in multiple reads.
- Gmail caches the images the moment they receive them, returning in message.opened webhook.
- Opening one email can trigger all the other emails stored by that provider to also trigger
- This can also result in multiple message.opened, message.link_clicked webhooks being recorded
To get around this this it is advised that you disregard immediate responses and store the objects in a SET to eliminate duplicates. Please note that tracking is becoming harder as browsers and providers harden privacy.