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

Productivity activities

Last updated Feb 19, 2026

MarkEmailAsUnread

Marks email as unread.

Namespace: UiPath.Gsuite.Activities.API

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

Overloads

OverloadDescription
MarkEmailAsUnread(IMail)Marks the specified mail as unread.
MarkEmailAsUnread(String)Marks the email with the specified messageId as unread.

MarkEmailAsUnread(IMail)

Marks the specified mail as unread.

public void MarkEmailAsUnread(
	IMail mail
)
public void MarkEmailAsUnread(
	IMail mail
)

mail IMail : The email that should be marked as unread.

MarkEmailAsUnread(String)

Marks the email with the specified messageId as unread.

public void MarkEmailAsUnread(
	string messageId
)
public void MarkEmailAsUnread(
	string messageId
)

messageId String : The id of the email that should be marked as unread.

  • Overloads
  • MarkEmailAsUnread(IMail)
  • MarkEmailAsUnread(String)

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.