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

Productivity activities

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

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated