Version:
Only show these results:

Immediate webhook notification

Sometimes, you might receive a message.opened webhook notification immediately after sending an email message, even if the recipient hasn't opened the message.

Nylas detects that an email message has been read by embedding a single-pixel image in the message HTML, and detecting when that image is downloaded. Nylas tracks the initial download only.

The single-pixel image may be downloaded before the recipient opens the email message in the following situations:

  • The CDN caches the image pixel across multiple proxies, which results in multiple reads.
  • Gmail caches all images in the email message as the email server receives them, which returns a message.opened webhook notification.

Solutions

The following options can help you work around this issue:

  • Combine Message Open tracking with Link Clicked tracking to determine that email messages have been opened after the recipient clicks an embedded link.

  • Remove recent objects with a timestamp of less than one minute from the email message's sent_at time.

    "recents": [{
    "ip": "12.234.567.89",
    "link_index": 0,
    "id": 0,
    "user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36",
    "timestamp": 1602623980,
    }]