google-workspace
google-workspace copied to clipboard
Some email downloads lagging indefinitely
Hi,
Sometimes when I load an email with gmail_client.get_messages it sits there lagging forever until I kill the program.
I think there are a few changes that could mitigate this:
- Using a better supported library like requests instead of httplib2 for HTTP requests.
- Adding an optional progress bar when downloading an email.
- Adding a timeout to skip an email if it takes too long to download.
Please let me know what you think.
Thanks