Skip to main content

Search Mail

Searches for mails based on specific criteria (mail folder, sender, receiver, cc, bcc, subject, body and mail id)

Common Properties

  • Name - The custom name of the node.
  • Color - The custom color of the node.
  • Delay Before (sec) - Waits in seconds before executing the node.
  • Delay After (sec) - Waits in seconds after executing node.
  • Continue On Error - Automation will continue regardless of any error. The default value is false.
info

if ContinueOnError property is true, no error is caught when the project is executed even if Catch node is used.

Input

  • Client Id - Id of the client to search mails. The ID is created by the Connect node.
  • Mail Folder - Name of the mail folder to search mails. If this property is not set, then "INBOX" is considered as default value.
  • From - Sender of the mails that to be searched.
  • To - Receiver of the mails that to be searched.
  • Cc - Cc of the mails that to be searched.
  • Bcc - Bcc of the mails that to be searched.
  • Subject - Subject of the mails that to be searched.
  • Body - Body of the mails that to be searched.
  • Mail ID - Id of the mails that to be searched.

Output

  • Messages - Found emails returned as an array of JSON objects.

Options

  • Credentials - Credentials to be used to search mails. Required if there is no Client Id.
  • Start Date - Beginning of the date range to search mails.
  • End Date - End of the date range to search mails.
  • Read Only - If true, only reads the mails to be returned from the mail server.
  • Only IDs - If true, only id's of the searched mails are fetched.