CLI command
tinbox draft create
Create a draft (resolves inbox from --thread if --inbox omitted)
Usage
sh
tinbox draft create --thread <thread> --inbox <inbox> --to <to> --cc <cc> --subject <subject> --text <text> --html <html> --in-reply-to <in-reply-to> [--stdin] --body-file <body-file> [--markdown]Flags
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
--thread | string | yes | — | thread to reply within |
--inbox | string | yes | — | inbox (required if no --thread) |
--to | string | yes | — | recipient (repeatable) |
--cc | string | yes | — | cc (repeatable) |
--subject | string | yes | — | subject |
--text | string | yes | — | plain-text body |
--html | string | yes | — | HTML body |
--in-reply-to | string | yes | — | Message-ID being replied to |
--stdin | boolean | no | — | read body from stdin (pipe-friendly for agents) |
--body-file | string | yes | — | read body from a file |
--markdown | boolean | no | — | treat body as markdown and convert to HTML |