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

Productivity activities

Last updated Feb 19, 2026

DeleteEmail

Deletes the given mail.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

Assembly: UiPath.MicrosoftOffice365.Activities.Api (in UiPath.MicrosoftOffice365.Activities.Api.dll)

Syntax

void DeleteEmail(
	IMail mail,
	bool deletePermanently = false
)
void DeleteEmail(
	IMail mail,
	bool deletePermanently = false
)

Parameters

mail IMail : The email that should be deleted.

deletePermanently Boolean (Optional) : If the email should be deleted permanently. Optional, default value is false.

  • 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.