OfflineIMAP / offlineimap

Read/sync your IMAP mailboxes (python2) [LEGACY: move to offlineimap3]
http://www.offlineimap.org
Other
1.78k stars 360 forks source link

Delete some emails from Gmail server with offlineimap. #704

Closed hongyi-zhao closed 3 years ago

hongyi-zhao commented 3 years ago

At present, the space used in my Gmail mailbox is close to the quota, as shown below:

image

Therefore, I have to delete some emails to free up space, but I haven't found an efficient and reliable way to do this based on specific filtering conditions. I'm not sure if offlineimap can do this tedious job for me. Any tips would be greatly appreciated.

Regards, HZ

nicolas33 commented 3 years ago

Offlineimap can sync the emails from the server to a local imap directory and sync back changes.

So, this could help to filter your emails if you aim at filtering them locally.