Louis W
Louis W

Reputation: 3262

Force emails not to be grouped into conversations

My website sends emails to me with the same subject and they are being grouped into conversations even if I delete old ones (Mail, Gmail). I know I can change the subject to prevent this, but is there a header or something else that can be added to do this without forcing unique subject lines?

Upvotes: 40

Views: 6175

Answers (2)

Basj
Basj

Reputation: 46563

The situation has changed since 2019.

I found a solution in https://workspaceupdates.googleblog.com/2019/03/threading-changes-in-gmail-conversation-view.html.

Setting a header of the form References: <[email protected]>, with a unique UUID for each email is enough to solve this.

Tested a few times today and I confirm it works.

Upvotes: 1

rds
rds

Reputation: 26994

On the top of my head, there are two methods to avoid threading:

  • set the SMTP header X-Entity-Ref-ID with any value. This is what Google+ notifications do.
  • change the sender email (you can use From: [email protected]). This is what Facebook notifications do.

The threading will be made if you force it with Reference or Reply-To.

Upvotes: 56

Related Questions