Gmail API historyId if there are no messages during users.watch

44 Views Asked by At

I am running into an issue where I am saving the historyId from users.watch. I am doing a null check to make sure that historyId is returned which it passes, but somewhere my downstream interprets it as a falsey value.

What is historyId if we do not have any messages in our mailbox? Could it be "", "0", or anything else? The documentation doesn't a default response.

0

There are 0 best solutions below