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

Productivity activities

Last updated Feb 19, 2026

DownloadEmail

Downloads the given mail.

Namespace: UiPath.Gsuite.Activities.API

Assembly: UiPath.Gsuite.Activities.API (in UiPath.Gsuite.Activities.API.dll)

Overloads

OverloadDescription
DownloadEmail(IMail)Downloads the given mail.
DownloadEmail(String)Downloads the email with the given messageId.

DownloadEmail(IMail)

Downloads the given mail.

public Stream DownloadEmail(
	IMail mail
)
public Stream DownloadEmail(
	IMail mail
)

mail IMail : The email that should be downloaded.

DownloadEmail(String)

Downloads the email with the given messageId.

public Stream DownloadEmail(
	string messageId
)
public Stream DownloadEmail(
	string messageId
)

messageId String : The id of the email that should be downloaded.

Return value

Stream - A stream that contains the email data.

  • Overloads
  • DownloadEmail(IMail)
  • DownloadEmail(String)
  • Return value

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.