Skip to content

Conversation

rasa
Copy link
Contributor

@rasa rasa commented Apr 19, 2022

This works:

#!/usr/bin/env python3

from simplegmail import Gmail

gmail = Gmail()

messages = gmail.get_messages(query='wxyz')
print("Found %d messages" % len(messages)) # returns 3 (only messages found in the search)

gmail.mode = gmail.THREAD_MODE
messages = gmail.get_messages(query='wxyz')
print("Found %d messages" % len(messages)) # returns 14 (all messages in the threads found from the search)

@rasa rasa force-pushed the rasa/add-threads branch from 1c75395 to f899249 Compare April 19, 2022 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant