diverse-rose
diverse-roseβ€’3mo ago

Where is the Gmail Page Token

Cannot find the gmail page token when fetch emails. I need to scrape the last 1000 emails. and setting a max to 50 only lets me to see 50 emails and I cannot use the pagination because there is no page token with the response.
9 Replies
adverse-sapphire
adverse-sapphireβ€’3mo ago
hey @pinkponk - next page token is usually included in the response you get from fetch emails action.
diverse-rose
diverse-roseOPβ€’3mo ago
Hm when I run in the dashbord with a max of 2 I only get this> e.g. I don't see a pagetoken
diverse-rose
diverse-roseOPβ€’3mo ago
diverse-rose
diverse-roseOPβ€’3mo ago
I removed the payloads in the output any progress on this?
adverse-sapphire
adverse-sapphireβ€’3mo ago
hey we're still looking into this. will update you here as soon as this is fixed. really sorry for the delay! hey @pinkponk - we pushed a fix for this and will be merged into production. feel free to try it out after next couple of hours.
diverse-rose
diverse-roseOPβ€’3mo ago
Nice! 😊 will try it out later then
extended-salmon
extended-salmonβ€’3mo ago
Let us know if it works for you πŸ˜„
diverse-rose
diverse-roseOPβ€’3mo ago
Yes this works now thanks. I noticed that you changed the returned schema for where the msgs are located in the response. Just bear in mind that if people use this in production and if you make such changes they should be more than a patch version bump? Just a thought. Thanks
extended-salmon
extended-salmonβ€’3mo ago
That's great, thanks for the suggestion πŸ™Œ

Did you find this page helpful?