# Email-in replies thread wrongly

**URL:** <https://meta.discourse.org/t/email-in-replies-thread-wrongly/59365>\
**Category:** Bug\
**Created:** [March 17, 2017, 5:34pm UTC](https://meta.discourse.org/t/email-in-replies-thread-wrongly/59365 "2017-03-17T17:34:33Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![elijah](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elijah/32/104055_2.png) [@elijah](https://meta.discourse.org/u/elijah)\
**Post date:** [May 10, 2017, 12:23am UTC](https://meta.discourse.org/t/email-in-replies-thread-wrongly/59365/6 "2017-05-10T00:23:03Z")

</div>

> [@LeoMcA](#):
>
> Yeah, I looked into this a bit more and it’s definitely because Amazon SES is replacing the Message-ID header with its own, like so:

Huh, they even document that:

> **[Amazon SES header fields - Amazon Simple Email Service](https://docs.aws.amazon.com/ses/latest/dg/header-fields.html)**
>
> Describes the header fields that Amazon SES accepts.

> **Note** : Amazon SES overrides any Message-ID header you provide.

I don’t think the RFCs _prohibit_ that behavior, but it is certainly not what I’d consider _expected_.

> [@LeoMcA](#):
>
> This would then mean that the correct, Discourse-specified, Message-ID would be in the References header, and Discourse would be able to find the correct post to reply to.
> 
> However, I expect this would make whoever wrote the RFC cry a little. @zogstrip you seem to be the email master around here, what do you think?

It makes me cry a little, and I have to wonder what threading aware mail clients would do with that. If possible a verp-style variable Reply-To address would be much cleaner.

---

_[View the full topic](https://meta.discourse.org/t/email-in-replies-thread-wrongly/59365)._
