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

Productivity Activities

Last updated Jul 24, 2025

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.
  • 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:

Was this page helpful?

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