With https://github.com/google/google-api-nodejs-client I can fetch an email thread and display its all messages properly after decoding body data as like https://developers.google.com/gmail/api/v1/reference/users/threads/get#request
But after displaying one email thread I have a pagination of next/prev email thread.
How can I call api to fetch previous / next email thread ? Can anyone guide me a bit on this? You know, on that single thread details page I have threadID but nothing for next thread / previous thread like pageToken.
Thanks in advance Jewel Ahmed