Open girlpunk opened 10 years ago
When an email is accessed as part of a label search, attempting to delete the email only removes the label from the email, but does not delete it.
An example for an email with the tags Inbox and Travel:
for email in g.label('Travel').mail()[0:1]: email.fetch() process(email.body) email.delete
This results in an email that still has the Inbox tag
When an email is accessed as part of a label search, attempting to delete the email only removes the label from the email, but does not delete it.
An example for an email with the tags Inbox and Travel:
This results in an email that still has the Inbox tag