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

Productivity activities

Last updated Mar 13, 2026

GetMailLabels

Retrieves all labels from the current account.

Namespace: UiPath.Gsuite.Activities.API

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

Syntax

public IReadOnlyCollection<IMailLabel> GetMailLabels()
public IReadOnlyCollection<IMailLabel> GetMailLabels()

Return value

IReadOnlyCollection<IMailLabel> - A list of mail folder labels.

  • Syntax
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated