OUTLOOK Get e-mail headers function

The OUTLOOK Get e-mail headers function in RPA.

Help CentreBuilding Processes

This article describes the RPA Outlook functionality to get e-mail headers.

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


Description

The OUTLOOK Get e-mail headers function allows you to extract the MAPI e-mail headers from the currently selected e-mail. Returns a dictionary of header name-value pairs (e.g. Message-ID, X-Mailer, Return-Path).


Setting it up

To use the OUTLOOK Get e-mail headers function, follow these instructions:

{{popups:rpas/add:action=outlook-get-headers}}

Once on a process map:

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

Input parameters

ParameterRequiredTypeDefaultDescription
VariableYesText-Variable to store the headers dictionary

Output variables

VariableTypeDescription
VariableObjectDictionary of header name-value pairs

Errors

ErrorDescription
Outlook not openOutlook is not running
No e-mail selectedNo e-mail is currently selected

Tips

  • Useful for inspecting e-mail routing, authentication results, and spam headers
  • Access individual headers using {variable.Message-ID} syntax

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.