Gmail messagesTotal in label data is incorrect

110 Views Asked by At

I am using the Gmail REST API to get data about Gmail labels. One of the items returned is "messagesTotal". For most of my labels, this value is correct. But for one, I am getting a value of 0, when I am certain the label has three messages (according to the Gmail GUI). Any idea what the problem is? I am making the GET call like this:

https://www.googleapis.com/gmail/v1/users/me/labels/Label_143

0

There are 0 best solutions below