Is it possible to query for the first, or all emails from a particular conversation id using the Microsoft Graph? If not, how about with the classic Exchange API?
Scenario: I am creating an application where I am interested in tracking the user who started an email thread, and the content of their initial message.
When querying for mail using the Microsoft Graph, I can get back an id
unique to that email, and a conversationId
unique to that email thread. The body
returns the full email thread so far, but it is none trivial to parse (are there tips to parsing the returned HTML?), and may not always be accurate if people are adjusting the mail that gets sent back and forth.
Maybe the solution here is to parse the full body
HTML, but I have not seen any documentation on best practices here. Any tips?