Help Centre › Building Processes
This article describes the RPA Outlook functionality to get an e-mail by ID.
For a full list of available functions, please read OUTLOOK functions.
Description
The OUTLOOK Get e-mail by ID function retrieves an e-mail directly by its EntryID without needing to iterate through folders. This is useful when you have stored an e-mail ID from a previous action and need to access the e-mail later.
Setting it up
To use the OUTLOOK Get e-mail by ID function, follow these instructions:
{{popups:rpas/add:action=outlook-get-email-by-id}}
Once on a process map:
- Navigate to the process where you would like to add the OUTLOOK Get e-mail by ID 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 Get e-mail by ID option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Entry ID | Yes | Text | - | The e-mail's EntryID |
| Variable | Yes | Text | - | Variable to store the e-mail data |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Dictionary | E-mail data including subject, sender, body, date, id, unread status, and attachments |
Errors
| Error | Description |
|---|---|
| Outlook not open | Outlook is not running |
| E-mail not found | No e-mail found with the specified EntryID |
Tips
- EntryIDs are obtained from other Outlook actions like Find e-mail or Select e-mail
- EntryIDs are unique and persistent within a mailbox