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

Cannot grab x number of emails #2

Open
voidarclabs opened this issue Jul 12, 2023 · 1 comment
Open

Cannot grab x number of emails #2

voidarclabs opened this issue Jul 12, 2023 · 1 comment

Comments

@voidarclabs
Copy link

Hi! Less of an issue, more a suggestion. I feel it would be a great addition to make some way to pull only a certain number of emails from the inbox, as opposed to all of them. When your inbox is full, it takes quite a while for it to gather all the content.

As a solution, I feel it would be best to make gmail.read() iterable. e.g. gmail.read()[2] would get you the latest 2 emails in your inbox, and so on.

If there is a way to do this, then ignore me or add it to the documentation (I've put pushes on my feed). Overall though, very useful package; 10/10 👍 :)

@dros1986
Copy link
Owner

Hi @voidarclabs! Thank you for the precious suggestion, I did not think about this case. As soon as I have some free time I will find a solution, or, if you want to contribute, feel free to do so.

Thank you very much :)

@dros1986 dros1986 reopened this Jul 18, 2023
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

2 participants