First matching email: return the first email message that meets the search criteria
All matching emails: return all email messages that match the search criteria
Return only the messages that match the specified query (supports the same query format as the Gmail search box, such as from:email@example.com rfc822msgid:firstname.lastname@example.org is:unread. See Search operators you can use with Gmail.
Labels to include in message filtering (such as Important, Starred, or Spam).
Include Spam and Trash
Set to True to include spam and trash messages, or False to exclude them.
List of email objects returned from the search, where each object contains the fields described in the First Matching Email section.
Unique ID of the message.
Subject of the message.
Text in the body of the message.
HTML formatted body of the message.
Email addresses of the message recipients (format multiple addresses in a list of individual emails or as a single text string separated by commas or semicolons).
Sender of the message.
A list of carbon copied recipients.
List of unique IDs of the email attachments.
List of Objects
List of categories attributed to the message (for example, Unread, or Important).