Skip to content

Search Emails

Outlook

Outlook

Search Emails

Search emails from the connected Outlook inbox.

ActionAI Tool

Inputs

Name Type Required Description
searchtextRequiredThe search query to search for emails
folderselectOptionalThe folder to read emails from (Microsoft Graph well-known names) (options: Inbox, Outbox, Drafts, Sent, Trash, Spam)
limitnumberOptionalThe number of emails to read
offsetnumberRequiredThe offset to read emails from

Outputs

Name Type Description
tenantIntegrationIdtextThe integration used to execute this action
emailsarray of objectThe emails read from the Outlook inbox
messageIdtextThe message ID of the email
threadIdtextThe thread ID of the email
subjecttextThe subject of the email
contenttextThe content of the email
contentTypeselectThe content type of the email (options: Text, HTML)
fromtextThe sender of the email
toarray of objectThe recipients of the email
emailAddresstextThe email address of the recipient
nametextThe name of the recipient