maton outlook message draft

Create a draft message

maton outlook message draft [flags]

Options

--bcc <string>
BCC recipients, comma-separated
-t, --body <string>
Email body content (one of --body, --body-from-file required)
-F, --body-from-file <string>
Read message body from a file path (or '-' for stdin)
--cc <string>
CC recipients, comma-separated
--connection <string>
Connection ID to route through (Maton-Connection header)
--dry-run
Print the request that would be sent without executing it
--format <string>
Output format: 'json' (default) or 'text' on supported commands
--html
Save body as HTML (default: plain text)
-q, --jq <expression>
Filter JSON output using a jq expression
--paginate
Follow next_cursor and concatenate all pages (list commands only)
--subject <string>
Email subject line (required)
--template <string>
Format JSON output using a Go template; see "maton help formatting"
--to <string>
Recipient email(s), comma-separated (required)

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 draft --to alice@example.com --subject "Hi" --body "hello"
$ maton outlook message draft --to a@b.com --subject Report --body "<p>...</p>" --html

See also