https://developers.google.com/gmail/api/v1/reference/users/messages He has a list method that

If you’re looking at the following structure:

{ "messages": [ users.messages Resource ], "nextPageToken": string, "resultSizeEstimate": unsigned integer } 

And he returns to me a bunch of IDs and everything, and not the whole body of the letter, in the dock written by users.messages Resource enter image description here There is also a get method, which returns the entire email as a whole, but only for a specific ID. https://developers.google.com/gmail/api/v1/reference/users/messages/get I want a list of my emails on my page and so I can add a search. Do I really need to rip out aidiskniki to any array with a single request, and then send hundreds / thousands of requests to the server? This cannot be true.

  • one
    And is there no API for searching? The list method has a q parameter that you can use to search - Stepan Kasyanenko
  • "This can't be true." Sorry, but this is true. Because it is explicitly stated in the documentation: "Note that each message resource contains the message. You can get fetched using the messages. Get method." - Alexander Ermolin

0