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

Productivity activities

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

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated