maton outlook message update

Update a message in place (mark read/unread, change subject or importance)

maton outlook message update <message-id> [flags]

Options

--connection <string>
Connection ID to route through (Maton-Connection header)
--dry-run
Print the request that would be sent without executing it
--importance <string>
Importance: low, normal, or high
-q, --jq <expression>
Filter JSON output using a jq expression
--json
Output raw JSON
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--read
Mark as read (sets isRead=true)
--subject <string>
New subject line
-t, --template <string>
Format JSON output using a Go template; see "maton help formatting"
--unread
Mark as unread (sets isRead=false)

Options inherited from parent commands

-p, --profile <string>
Profile to use for this invocation (overrides the active profile; also reads MATON_PROFILE)

Examples

$ maton outlook message update AAMkAGI... --read
$ maton outlook message update AAMkAGI... --unread
$ maton outlook message update AAMkAGI... --subject "Re: updated subject"
$ maton outlook message update AAMkAGI... --importance high

See also