charlierguo / gmail

A Pythonic interface for Google Mail
MIT License
1.77k stars 386 forks source link

Fetching Unread Emails removes Inbox label #83

Open RohitJacob opened 7 years ago

RohitJacob commented 7 years ago
unread = g.inbox().mail(unread=True)
print unread[0].body

This works once, but after that the email moves all the emails to All Mails from Inbox and the list becomes empty.