Claude pointed out that sync.py creates a new gmail service after every message download. That seems like the culprit. I don't know exactly what the root cause is, but it seems like even if creating ...