imapfilter icon indicating copy to clipboard operation
imapfilter copied to clipboard

[support request] Gmail get list of all mails in folder

Open bennyslbs opened this issue 1 year ago • 3 comments

Hi, In gmail I need to have a filter, eg. :contain_from('.'): msgs = account['Folder/sub']:contain_from('.') On other IMAP server can do just msgs = account['Folder/sub']

If I don't have the filter, then msgs is a empty list, that even fails during msgs:move_messages('new folder')

How do other solve this?

bennyslbs avatar Mar 07 '24 10:03 bennyslbs

Hi, In gmail I need to have a filter, eg. :contain_from('.'): msgs = account['Folder/sub']:contain_from('.') On other IMAP server can do just msgs = account['Folder/sub']

If I don't have the filter, then msgs is a empty list, that even fails during msgs:move_messages('new folder')

How do other solve this?

Just for information, did you log into gmail with app-password or with oauth2? I'm trying to use oauth2, but it doesn't download anything, the connection seems active, but any command times out.

If I solve this, maybe I can get to the point where you are... and a solution can be found.

Thank you.

gollumone avatar Mar 19 '24 08:03 gollumone

I log into gmail using app-password as described in #287. My gmail account is an old "free" Google-Site account with my own domain, converted to (Legacy) Workspace account a few years ago.

bennyslbs avatar Mar 20 '24 11:03 bennyslbs

Can you share the relevant part of your config?

Also can you produce a debug file with -d debug.log and share it?

lefcha avatar Apr 06 '24 15:04 lefcha