[ZBX-18307] emails are not grouped to threads in Gmail web client Created: 2020 Aug 27 Updated: 2024 Apr 10 Resolved: 2022 Jun 03 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 5.0.3 |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Oleksii Zagorskyi | Assignee: | Zabbix Development Team |
Resolution: | Won't fix | Votes: | 2 |
Labels: | gmail, threading | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||
Team: |
Description |
It's related to I've tested and I can see that simple alerts, where the only difference in Subject is PROBLEM|OK first word, having the same "In-Reply-To" header are not grouped in Gmail. But they are nicely grouped in Thunderbird, as it should ! Just FYI: What is the fun, that multiple emails (trigger multiple problems generation) having the same Subject, but sent by different events, so having different "In-Reply-To" headers - they are grouped in Gmail, which probably not what we planned to have. Would be nice if Gmail cold group email the same way as classic clients. This article could explain why it happens - https://gsuiteupdates.googleblog.com/2019/03/threading-changes-in-gmail-conversation-view.html Gmail want to use "Message-Id" header, which was considered by our devs during designing the feature, but not selected for unknown reason. |
Comments |
Comment by Pavel [ 2020 Aug 27 ] |
It looks like Gmail never groups messages with different subjects despite of matching References/In-Reply-To with Message-Id. So, if the first message have "PROBLEM" in subject and second message have "OK", there is no way to group them into thread on Gmail. But... Gmail can have dynamic message content. It's possible to update message in Gmail inbox according to alarm state. |
Comment by Artjoms Rimdjonoks [ 2020 Sep 08 ] |
InvestigationZabbix mechanism of grouping e-mails currently relies on attaching the hashed event id to the "In-Reply-to" header with "@zabbix.com" at the end: In-Reply-To: 75.507cfa22746afcfb0c66285ae6e8a412.1.a989dfbbbba75c6abfd6fe11fd2f900f@zabbix.com The event-id used for the reply comes from the Problem for both Problem and Recovery: Problem: eventid 78, In-Reply-To id: hash(78)+"@zabbix.com" Recovery: eventid 79, In-Reply-To id: hash(78)+"@zabbix.com" So that "In-Reply-to" is the same for the both Problem and Recovery. Needless to say such message does not exist. However, Thunderbird does not care and happily groups such messages into the same thread as long as their "In-Reply-to" is the same.
UPDATEI was wrong saying that Gmail can group messages using In-Reply-To headers. Actually, Gmail ONLY groups messages if they have the same Subject. Response Message can have the correct In-Reply-To and References headers but it is irrelevant. I was confused in my initial tests because I used there the same Subject. This is easy to test. Just reply to an existing email from Gmail web interface but edit the subject - it will not be threaded (even all In-Reply-To/References headers correctly point to the original message). There seems to be no any way to group emails with different Subjects in Gmail. |
Comment by Kim Jongkwon [ 2024 Feb 02 ] |
I found some guidelines on how Gmail handles email grouping, LINK Emails are grouped if each message meets the following:
|