Python Gmail API won't pass labelIds Parameter to List method
问题 I've been trying to get a Python script set up that involves querying a Gmail account for unread messages. Ideally I'd like to make use of the Gmail API's "list" method with the optional query parameter filtering for messages with the labelId of "UNREAD". When I test this out on Google's site (https://developers.google.com/gmail/api/v1/reference/users/messages/list) , it works properly. But within my script, the labelId parameter seems to not be passed correctly and my output is always the