OUTLOOK Get e-mail by ID function

The OUTLOOK Get e-mail by ID function in RPA.

Help CentreBuilding 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:

  1. Navigate to the process where you would like to add the OUTLOOK Get e-mail by ID 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 Get e-mail by ID option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
Entry IDYesText-The e-mail's EntryID
VariableYesText-Variable to store the e-mail data

Output variables

VariableTypeDescription
VariableDictionaryE-mail data including subject, sender, body, date, id, unread status, and attachments

Errors

ErrorDescription
Outlook not openOutlook is not running
E-mail not foundNo 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

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.