Contents

Gmail List Emails

GmailListEmailsTool · Tools · Connections

Search and list Gmail messages with a Gmail search query and label ids. Returns message and thread ids, 10 unless max_results says otherwise; get a message for its content.

Parameters

NameTypeRequiredDescription
label_idsstring[]NoOnly messages carrying every one of these label ids.
max_resultsintegerNoMost messages 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, such as `from:ana is:unread`.