optimistic-gold
optimistic-goldβ€’4mo 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
genetic-orange
genetic-orangeβ€’4mo ago
hey @pinkponk - next page token is usually included in the response you get from fetch emails action.
optimistic-gold
optimistic-goldOPβ€’4mo 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
optimistic-gold
optimistic-goldOPβ€’4mo ago
optimistic-gold
optimistic-goldOPβ€’4mo ago
I removed the payloads in the output any progress on this?
genetic-orange
genetic-orangeβ€’4mo 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.
optimistic-gold
optimistic-goldOPβ€’4mo ago
Nice! 😊 will try it out later then
vicious-gold
vicious-goldβ€’4mo ago
Let us know if it works for you πŸ˜„
optimistic-gold
optimistic-goldOPβ€’4mo 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
vicious-gold
vicious-goldβ€’4mo ago
That's great, thanks for the suggestion πŸ™Œ

Did you find this page helpful?