Grouping BCC'd grants of the same email

Hi.

We’re trying to figure out when users of our platform are recipients of the same email.

The problem comes when one (or all) of them is bcc’d. Since we can’t identify the recipient by bcc because it’s empty, we turned to look at recipients by object.grant_id.

That gives us another problem because for every grant we get a notification with different IDs to everything (like the message id), so it looks like both received completely different emails (even if they’re the same).

Is there any way to group BCC’d recipients by the same email?

The challenge you’re describing is inherent to how BCC works - recipients don’t see other BCC’d recipients, and each grant receives the message with its own unique identifiers.

You’ll want to request the headers of the message via our API and look for the Message-ID header. That header value is unique per send, so you can track if users are both recipients to the same message by matching that header value.

This route will allow you to accomplish the same goal without bothering with BCC.

2 Likes