Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Move emails to "Trash" when using --delete with a Gmail account. #29

Closed
twyatt opened this Issue · 3 comments

4 participants

@twyatt

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.

http://mail.google.com/support/bin/answer.py?answer=78755

P.S. Thanks for this awesome utility!

@rgrove
Owner

Move deleted Gmail messages to the Trash. Closed by 2782b52

@gorn

I get this on my gmail account:

Net::IMAP::NoResponseError: No folder [Gmail]/Trash (Failure) (will retry)

the problem is that the name of the folder is localised as [Gmail]/Koš .... I do not really know what to do with this, but please reopen this issue.

@jasonm23

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 [Gmail]/Trash but I get folder not found. (same when I tried Deleted Messages or Bin.)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.