Help Centre › Building Processes
This article describes the RPA Outlook functionality to export an e-mail as an EML file.
For a full list of available functions, please read OUTLOOK functions.
Description
The OUTLOOK Export e-mail as EML function exports the currently selected e-mail as an EML (RFC 822 MIME) file. EML is a standard e-mail format that preserves all headers, body content, and attachments in a single file.
Setting it up
To use the OUTLOOK Export e-mail as EML function, follow these instructions:
{{popups:rpas/add:action=outlook-mail-export-eml}}
Once on a process map:
- Navigate to the process where you would like to add the function
- Click on the green button’s drop-down
- Click on “+ Activity”
- Select the OUTLOOK Export e-mail as EML option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| File path | Yes | Text | - | File path to save the .eml file |
Output variables
This action does not produce output variables.
Errors
| Error | Description |
|---|---|
| Outlook not open | Outlook is not running |
| No e-mail selected | No e-mail is currently selected |
| Invalid path | The specified file path is not valid or the directory does not exist |
Tips
- EML files can be opened by most e-mail clients and are useful for archiving
- The file preserves all original headers, which is useful for forensic analysis
- Use the .eml extension in the file path for best compatibility