Actions25
Message → Patch
AI-generatedSummary
Update a message in the current or another mailbox by setting its flag status, extended properties, or additional Graph fields. You can also request the updated message with extended properties, Markdown body content, and attachment metadata or binary data.
Inputs
- Mailbox — Choose the current mailbox or another mailbox. For another mailbox, provide its email address.
- Message ID (required) — ID of the message to update.
- Use Immutable ID — Treat the Message ID as an immutable ID and send the corresponding Microsoft Graph Prefer header.
- Flag Status — Leave unchanged, flag, complete, or clear the message flag. For Complete, optionally provide the completion date/time and IANA time zone; an empty date/time uses the current time. For Flagged, optionally provide the start and due date/times and their IANA time zones.
- Extended Properties — Set custom single-value or multi-value extended properties. Enter the property name and value; multi-value input uses comma-separated quoted strings.
- Extended Property Name — Comma-separated custom extended property names to include in the returned message, using exact ID filters.
- If-Match ETag — Optionally update only if the message still matches this ETag. Use the @odata.etag from Get or format the changeKey as W/"
". - Additional Body (JSON) — Optional JSON fields merged into the PATCH body with the fields above.
- Convert Body to Markdown — Add a Markdown rendering while retaining the original HTML body in the returned message.
- List Attachments — Include attachment metadata as an array on the updated message.
- Download Attachments — Download file attachment content as binary data fields such as data_0; also includes attachment metadata.
Output shape
A single updated message record
The returned message can include requested extended properties, Markdown body content, and attachment metadata. When attachment downloads are enabled, file contents are also returned as binary data.