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

Productivity Activities

Last updated Mar 19, 2025

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.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
© 2005-2025 UiPath. All rights reserved.