Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bennyslbs opened this issue Mar 7, 2024 · 3 comments
Open

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

bennyslbs opened this issue Mar 7, 2024 · 3 comments

Comments

@bennyslbs
Copy link

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?

@gollumone
Copy link

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.

@bennyslbs
Copy link
Author

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.

@lefcha
Copy link
Owner

lefcha commented Apr 6, 2024

Can you share the relevant part of your config?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants