I am trying to send an email as a reply to a previous thread using SendGrid v3 APIs. But it always shows as a new email thread in Outlook. I am using "Message-ID", "In-Reply-To" and "References" fields but it always fails to show under single thread. I am referring this thread here to set the headers.
SendGrid document doesn't specify if v3 supports replying to previous thread or not. Any way to achieve email thread conversation is appreciated.
OKAY. I figured out the key here. I was missing "<>"angled brackets and looks like SendGrid takes it very seriously. So this is how headers section should look like.
"headers": {
"Message-ID": "<[email protected]>",
"In-Reply-To": "<[email protected]>",
"References": "<[email protected]>"
}
Checkout the angled brackets surrounding header values.