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

Productivity activities

Last updated Feb 19, 2026

MoveEmail

Moves the mail from a source folder label to the destination folder label.The source folder label is removed from the mail and the destination folder label is added to the mail.

Namespace: UiPath.Gsuite.Activities.API

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

Syntax

public void MoveEmail(
	IMail mail,
	IMailLabel source,
	IMailLabel destination
)
public void MoveEmail(
	IMail mail,
	IMailLabel source,
	IMailLabel destination
)

Parameters

mail IMail : The mail that should be moved.

source IMailLabel : The source folder label which should be removed from the email.

destination IMailLabel : The destination folder label which should be added to the 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.