OUTLOOK Find an e-mail function

The OUTLOOK Find an e-mail function in RPA.

Help CentreBuilding Processes

This article describes the RPA Outlook functionality to find e-mails matching search criteria.

For a full list of available functions, please read OUTLOOK functions.


Description

The OUTLOOK Find an e-mail function allows you to search for e-mails matching filter criteria such as subject, sender, date range, read status, and attachments. Returns a list of matching e-mail data.


Setting it up

To use the OUTLOOK Find an e-mail function, follow these instructions:

{{popups:rpas/add:action=outlook-find}}

Once on a process map:

  1. Navigate to the process where you would like to add the OUTLOOK Find an e-mail function
  2. Click on the green button's drop-down (right side of the green button labelled "Process")
  3. On the menu that appears, click on the "+ Activity" item
  4. From here you can select the OUTLOOK Find an e-mail option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
AccountYesText-The Outlook e-mail account
SendNoSwitchOffAutomatically send after composing
ToNoText-Recipient e-mail address(es)
CCNoText-CC recipients
BCCNoText-BCC recipients
MessageYesTextarea-The e-mail message body
AttachmentsNoTable-File paths to attach

Output variables

VariableTypeDescription
VariableListA list of matching e-mail dictionaries with id, subject, from, to, cc, timestamp, unread status, attachment info, and a truncated body.

Errors

ErrorDescription
Outlook not openOutlook is not running
Folder not foundThe specified folder does not exist

Tips

  • Combine multiple filters to narrow your search results
  • Use the sort parameter to control result order (latest or oldest first)
  • Set a limit to avoid retrieving too many results

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.