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

Productivity activities

Last updated Mar 13, 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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated