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

Productivity activities

Last updated Mar 13, 2026

RemoveLabels

Removes the given labels from the specified mail.

Namespace: UiPath.Gsuite.Activities.API

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

Syntax

public void RemoveLabels(
	IMail mail,
	IReadOnlyList<IMailLabel> labels
)
public void RemoveLabels(
	IMail mail,
	IReadOnlyList<IMailLabel> labels
)

Parameters

mail IMail : The mail to remove labels from.

labels IReadOnlyList<IMailLabel> : The label list that should be removed from the given email.

  • Syntax
  • Parameters

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated