Open gusmiguens opened 2 years ago
@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.
@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
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