# Immediate webhook notifications for read messages

Source: https://developer.nylas.com/docs/support/troubleshooting/immediate-webhook-notification/

Sometimes, you might receive a [`message.opened` tracking notification](/docs/v3/email/message-tracking/#message-open-tracking) immediately after you send a message, even if the recipient hasn't opened it yet.

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

The image might be downloaded before the recipient opens the message in the following situations:

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

## Solutions

You can use one of the following options to help you work around the issue:

- Combine Message Open tracking with [Link Clicked tracking](/docs/v3/email/message-tracking/#link-clicked-tracking) to determine that messages have been opened after recipients click an embedded link.
- Remove `recents` objects with a `timestamp` value of less than one minute from the message's `sent_at` time.

  ```json {6}
  "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,
  }]
  ```

## Resources

For more information about message tracking and the webhooks Nylas generates, see the following documentation:

- [Message tracking](/docs/v3/email/message-tracking/)
- [Message tracking notification schemas](/docs/reference/notifications/#message-tracking-webhook-notifications)
- [Troubleshooting: Missing notifications for read messages](/docs/support/troubleshooting/missing-webhook-notifications/)