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

Productivity activities

Last updated Mar 13, 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?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated