activities
latest
false
UiPath logo, featuring letters U and I in white

Productivity activities

Last updated Feb 19, 2026

Download Email

UiPath.MicrosoftOffice365.Activities.Mail.DownloadEmailConnections

Description

Downloads a specified email to a local folder. The email is downloaded in the .eml file format.

Scopes

This activity requires the following scopes:

  • Mail.Read

OR

  • Mail.ReadWrite

OR

  • Mail.Read.Shared

OR

  • Mail.ReadWrite.Shared

Project compatibility

Windows | Cross-platform

Configuration

  • Microsoft Outlook 365 connection - The connection for the Microsoft 365 account to use in the activity.
  • Email - The email to download. This field accepts Office365Message variables. Use the See more button menu to use a variable as the input mode.
Properties

Options

  • Destination path - The path where to save the downloaded email.

  • Create missing folders - Creates a folder if the path contains non-existing folder names. By default, this property is set to False.

  • If a file already exists - Choose what is the expected behavior when a file with the same name already exists in the destination folder. Select one of the following options:

    • Replace
    • Don't replace
    • Auto rename

    The default option is Don't replace.

Output

  • Email - The downloaded .eml file. Automatically generated output variable. You can use it as-is, or save it with a different name. In addition, you can use this in other activities, for example, in a For Each Email activity.

For more details, make sure you also check the following resources:

  • Description
  • Scopes
  • Project compatibility
  • Configuration

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.