simplegmail icon indicating copy to clipboard operation
simplegmail copied to clipboard

Add resultSizeEstimate property

Open rasa opened this issue 3 years ago • 0 comments

This can work along with the maxResults property to see how many results there are without downloading them all:

gmail = Gmail()
gmail.maxResults = 1
messages = gmail.get_messages(query='example')
print("There are %d estimated results" % gmail.resultSizeEstimate)

rasa avatar Apr 19 '22 01:04 rasa