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

mail-notifier should try to fetch emails in batches #51

Open
proEndreeper opened this issue Oct 25, 2018 · 0 comments
Open

mail-notifier should try to fetch emails in batches #51

proEndreeper opened this issue Oct 25, 2018 · 0 comments

Comments

@proEndreeper
Copy link

Reason why I suggest this is that right now, mail-notifier may try to fetch over 1000 emails at a time depending on your search query, which often overloads a server, meaning that the server will return an invalid command, as it's unable to process that many emails.

Considering how the code is written, you could split up the uid list into smaller lists and only fetch the emails assigned those uids and process those before moving onto the next set of uids.

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

1 participant