I have been using the \"Get Label\" API to get the details of a particular Label.
It was all working until the last couple of days.
What I now observe is that th
As noted in the comments to the question, there's an apparent bug in the API as reported here.
FWIW I'm running into the same issue.
In my case I have three accounts, all created programmatically by the same code, all containing messages inserted programmatically by the same code. The get label API repeatably reports the correct number of messages for one account while erroneously reporting zero messages for the other two accounts. Viewing the account in the web interface shows all the messages in all the accounts as expected.