Contents

Gmail List Threads

GmailListThreadsTool · Tools · Connections

Search and list Gmail threads with a Gmail search query and label ids. Returns thread ids and snippets, 10 unless max_results says otherwise.

Parameters

NameTypeRequiredDescription
label_idsstring[]NoOnly threads carrying every one of these label ids.
max_resultsintegerNoMost threads to return, 1-500.
page_tokenstringNoThe `nextPageToken` of the previous page, to continue from it.
querystringNoA Gmail search query, as typed in Gmail's search box.