Get Message Without History From Gmail API

According to this thread, it is not possible because it is part of the email's body content and you're specifying the ID of the message to retrieve.

You are getting the full reply message. When the report replied, they quoted the original message and this the text of the original is in the reply message. You may just want to do what Gmail and many other modern emails apps do and collapse/hide any reply text which begins with >.

References:

  • How to get the reply message without the original message from the Gmail API
  • GMAIL API : How to get the reply without the original message
  • Most efficient way to get new messages