jeremyephron / simplegmail

A simple Gmail API client for applications in Python
MIT License
348 stars 74 forks source link

Retrieving lot of messages #52

Open RocksWon opened 2 years ago

RocksWon commented 2 years ago

So today i tried retrieving messages and since the messages were too many, it took like forever to get those messages about 1017 seconds which is about 17 mins to retrieve the messages. This is a very long time to get the messages. Is there a way i can get it to work faster or something to help?

rasa commented 2 years ago

64 will help by allowing you to specify the maximum number of records returned. Currently, the code will return the entire result set, which could be thousands of records.