Help Centre › Building Processes
This article describes the RPA Outlook functionality to select an e-mail.
For a full list of available functions, please read OUTLOOK functions.
Description
The OUTLOOK Select an e-mail function allows you to select an e-mail.
Setting it up
To use the OUTLOOK Select an e-mail function, follow these instructions:
{{popups:rpas/add:action=outlook-select-mail}}
Once on a process map:
- Navigate to the process where you would like to add the OUTLOOK Select an e-mail function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the OUTLOOK Select an e-mail option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Account | Yes | Text | - | The Outlook e-mail account |
| Folder / mailbox | Yes | Text | - | The folder name |
| Filter | No | Select | - | Filter: Latest, Oldest, or Unread |
| Variable | Yes | Text | - | Variable to store the selected e-mail |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Object | The selected e-mail data (subject, from, body, etc.) |
Errors
| Error | Description |
|---|---|
| Outlook not open | Outlook is not running |
| Folder not found | The folder does not exist |
| No matching e-mail | No e-mail matches the filter criteria |
Tips
- Use the Filter to select the latest, oldest, or first unread e-mail
- The variable contains e-mail metadata like subject, from, body