UiPath Documentation
activities
latest
false

Productivity activities

GetEmailThread

Retrieves all messages in the same email conversation.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Overloads

OverloadDescription
GetEmailThread(String, String)Retrieves all messages in the conversation identified by a conversation id.
GetEmailThread(IMail, String)Retrieves all messages in the same conversation as the given email.

GetEmailThread(String, String)

Retrieves all messages in the conversation identified by conversationId.

IReadOnlyCollection<IMail> GetEmailThread(
	string conversationId,
	string account = null
)
IReadOnlyCollection<IMail> GetEmailThread(
	string conversationId,
	string account = null
)

conversationId String : The unique identifier of the conversation.

account String (Optional) : If specified uses the given shared mailbox, otherwise uses the current account.

GetEmailThread(IMail, String)

Retrieves all messages in the same conversation as mail.

IReadOnlyCollection<IMail> GetEmailThread(
	IMail mail,
	string account = null
)
IReadOnlyCollection<IMail> GetEmailThread(
	IMail mail,
	string account = null
)

mail IMail : The email whose conversation thread should be retrieved.

account String (Optional) : If specified uses the given shared mailbox, otherwise uses the current account.

Return value

IReadOnlyCollection<IMail> - A list of emails belonging to the conversation.

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated