Skip to content
Tinbox

CLI command

tinbox create-draft

Create a new-message or reply draft, never send or schedule it. Provide inboxId and optional threadId. Optional followUp saves one fixed conditional follow-up plan for later review: {afterDays,body}; null means no plan. An unfinished body may be saved while drafting. Read the saved plan and complete body with get_draft before any separately authorized send. Returns id/version; draft creation is not safely repeatable after a lost response.

Generated from tool: create_draft

Usage

sh
tinbox create-draft --inboxId <inboxId> --threadId <threadId> --to <to> --subject <subject> --bodyText <bodyText> --followUp <followUp>

Flags

NameTypeRequiredDefaultDescription
--inboxIdstringyes—The inbox the draft belongs to (required).
--threadIdstringyes—The thread to reply to (for a reply draft).
--tostringyes—Recipient addresses.
--subjectstringyes—Draft subject.
--bodyTextstringyes—Draft body (plain text).
--followUpstringyes—Save a fixed conditional plan {afterDays:1..365,body:plain text up to16000 chars}; null means no plan. Saving never schedules or sends. Blank body is allowed only while drafting.