ReplyToMessage
Sends a reply to an existing email message, preserving the message thread and including quoted content where applicable.
Input
| Name | Type | Required | Description |
| MessageId | String | True | The unique identifier of the original email message being replied to. This ID is required to retrieve the correct message from the mailbox. |
| Comment | String | False | The body content of the reply message. This comment will appear above the original message in the reply thread. |
| ToAll | String | False | Specifies whether the reply should be sent to all original recipients (true) or only to the sender (false).
The default value is false. |
| UserId | String | False | The identifier of the impersonated user on whose behalf the reply is being sent. Used in delegated access scenarios. |
| SaveAsDraft | Boolean | False | When true, saves the reply as a draft in the Drafts folder instead of sending immediately. The Id of the created draft is returned.
The default value is false. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the operation completed successfully. |
| Id | String | The Id of the reply draft created when SaveAsDraft is true. |