<p></p>
<h3 dir="auto">Problem</h3>
<p dir="auto">I use Gmail to read my mails. Usually it out-groups related mails.</p>
<p dir="auto">Notifications about new comments and events on a note that I follow are not out grouped.</p>
<p dir="auto">Gmail has some docs on this:<br>
<a href="https://support.google.com/mail/answer/5900?hl=en" rel="nofollow">https://support.google.com/mail/answer/5900?hl=en</a></p>
<blockquote>
<p dir="auto">Emails are grouped if each message meets the following:</p>
<ul dir="auto">
<li>The same recipients, senders, or subject as a previous message</li>
<li>A reference header with the same IDs as a previous message</li>
<li>Sent within one week of a previous message</li>
</ul>
</blockquote>
<p dir="auto">Looking into the reference part I found <a href="https://flexport.engineering/sending-threaded-emails-using-rails-actionmailer-8549bd246283" rel="nofollow">https://flexport.engineering/sending-threaded-emails-using-rails-actionmailer-8549bd246283</a> which suggest adding a <code class="notranslate">reference</code> key to the <code class="notranslate">mail</code> method</p>
<hr>
<p dir="auto">Related to this is, that right now only the footer of the notification gives the information about the message that the update is related to ("More details about the note can be found at <a href="https://www.openstreetmap.org/note/3448122" rel="nofollow">https://www.openstreetmap.org/note/3448122</a>."). Should the grouping not work, I would like to look into improving the subject or intro text to make it more clear which message the new comment/event belongs to.</p>
<h3 dir="auto">Description</h3>
<p dir="auto">All notifications on Notes should have the <code class="notranslate">reference</code> of the original note-creation, so all follow up mails are grouped by reference by email clients that support this kind of grouping.</p>
<h3 dir="auto">Screenshots</h3>
<p dir="auto">Those messages are ungrouped. It is not clear from the subject line which message they belong to.</p>
<a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/111561/241637894-5414022f-1df7-4973-8c2d-ea4ab1fed8b4.png"><img width="1117" alt="image" src="https://user-images.githubusercontent.com/111561/241637894-5414022f-1df7-4973-8c2d-ea4ab1fed8b4.png" style="max-width: 100%;"></a>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/4047">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNW23N33I5AC3JSU7DXIQRIZANCNFSM6AAAAAAYSKA4F4">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLPZJ43CTO5PKNJJQKTXIQRIZA5CNFSM6AAAAAAYSKA4F6WGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHGOHQ4JA.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/4047</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/4047",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/4047",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>