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

Productivity activities

Last updated Feb 19, 2026

ArchiveEmail

Archives the given mail.

Namespace: UiPath.Gsuite.Activities.API

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

Overloads

OverloadsDescription
ArchiveEmail(IMail)Archives the given mail.
ArchiveEmail(String)Archives the email with the given messageId.

ArchiveEmail(IMail)

Archives the given mail.

public void ArchiveEmail(
	IMail mail
)
public void ArchiveEmail(
	IMail mail
)

mail IMail : The email that should be archived.

ArchiveEmail(String)

public void ArchiveEmail(
	string messageId
)
public void ArchiveEmail(
	string messageId
)

messageId String : The ID of the email that should be archived.

  • Overloads
  • ArchiveEmail(IMail)
  • ArchiveEmail(String)

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.