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

Productivity activities

Last updated Feb 19, 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?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo
Trust and Security
© 2005-2026 UiPath. All rights reserved.