I have two gmail accounts I created a thread consisting of five messages and retreived them with gmail gapi at this page https://developers.google.com/gmail/api/v1/reference/users/threads/get.
This is what I got:
As you can see, the ids don't match, although they identify the exact same letters. Why this happens, and how can i get the unified id?
P.S. The real reason I am doing this is that I need to send a reply to a message with gmail API, but to do that, you need to know the id of the message that you reply to. And if I reply to the message with id that I have ( not the message id that the receiver has ), it just sends a 'new' message.
How can I send replies with Gmail API?
Thank you in advance.