simplegmail
simplegmail copied to clipboard
Add new fields to label
This adds all the fields returned by the labels.list API.
Example:
gmail = simplegmail.Gmail()
labels = gmail.list_labels()
for label in labels:
print(label.name, label.id, label.type, label.messageListVisibility, label.labelListVisibility)
It also adds a predefined CHAT label, which was missing.