I\'m using the Javascript client API with my app and I\'m trying to get unread mails from the primary inbox.
If I use the INBOX and UNREAD names when requesting the lab
You could try "in:unread category:primary "