Join GitHub today
Move emails to "Trash" when using --delete with a Gmail account. #29
Gmail doesn't actually delete emails when deleting from IMAP. Gmail instead simply removes an email's labels on delete. To perform a delete, an email needs to be moved to Trash.
P.S. Thanks for this awesome utility!
My "Trash" is labelled as "Deleted Messages" ... I'm patching locally. (which didn't work)
Might need to add this as a configurable to work for everyone. Not sure what's going on, because Google documents the Trash via IMAP as