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

Checking inbox does not poll new emails #94

Open
gusmiguens opened this issue May 23, 2022 · 2 comments
Open

Checking inbox does not poll new emails #94

gusmiguens opened this issue May 23, 2022 · 2 comments

Comments

@gusmiguens
Copy link

Hi, I'm using this to check gmail inbox waiting for an specific email. The thing is that I tried several scenarios and if the task is polling emails and in the middle I got the desired email, it does not found it. When it fails I run it again and then it finds it.

Is it possible that while polling it does not recognize new emails?
Can you help me?

Thanks in advance

@gusmiguens
Copy link
Author

@levz0r is it possible that gmail is giving me cache emails? that's why if It didn't find it in the first poll, I won't in the following ones.

@gusmiguens
Copy link
Author

@levz0r maybe we should add like the refresh token function whenever we want to retry the polling. I made a in house try like calling the same function until I find the email and the only difference between yours and mine is that every time I call the get token endpoint and then again check inbox and it did work.

I start looking for an email that does not exists and in the middle of the run I send that email so it reaches my inbox while the function is still running and it finds the email

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