0 votes

I would like the option of saving accessing all emails in a conversation.

for example if someone forwards me an email i would like to have access to all the items of the email that was forwarded.

is there an option to do that? parse a forwarded email?

Thanks!

by (300 points)

1 Answer

0 votes

If your server supports THREAD extension you can use it for server-based threading of messages:
https://www.limilabs.com/blog/thread-emails-using-imap

Gmail support its own threading extension (X-GM-THRID):
https://www.limilabs.com/blog/get-gmail-thread-id

https://www.limilabs.com/blog/search-gmail-thread-id

Please note that a forwarded email or a reply are regular emails. They don't necessary contain all messages, that form a thread.

You can use IMail.InReplyTo and IMail.References to get message-id's of the referenced messages. Those email headers are set by the client, when the reply/forward is created.

by (297k points)
...