curviate unibox email send
Send one plain-text email to the conversation's Lead, at once: a reply in one of its threads (--thread, a thread_id from conversation timeline), or a new thread (--subject, and --mailbox when more than one Mailbox can send). It goes to the Lead's one address with no signature and no opt-out line, counts against the Mailbox's daily limit, and ends the Lead's open Enrollments on this Account as a reply would. In a Team conversation (an email-only Campaign's, no Account) a reply goes from its thread's shared Mailbox; a new thread there is an Owner's or a Manager's. --cc and --bcc (at most 20 addresses together) and --attach (files read from paths on this machine, at most 10, 20 MiB in all, refused here before anything is sent) ride along; a link usually lands better than a file. Up to 6 MiB in all the files go inside the one request; above that each is first uploaded as a file of your Team (campaign attachment upload, counted against its daily uploads, kept 30 days) and the email names them by id. Bcc addresses are never shown to the other recipients; do not repeat them where others read. A Cc or Bcc address the receiving server refused while it took the Lead's is a recipients_refused warning on stderr: those got nothing, everyone else did. Check first with conversation get that email is available. One request: a retry after a timeout can send twice, so read the timeline before you send again. An unknown outcome (the provider stopped answering after it had the whole email) exits 1, never 7: do not send it again.
Usage
curviate unibox email send <conversationId> <text> [flags]Examples
curviate unibox email send cnv_YOUR_CONVERSATION_ID "Thanks, Thursday works." --thread thr_YOUR_THREAD_ID
curviate unibox email send cnv_YOUR_CONVERSATION_ID "Following up on our call." --subject "Next steps" --previewArguments
| Argument | Required | Description |
|---|---|---|
conversationId | yes | Conversation id (cnv_...). |
text | yes | The email's text, plain text, 1 to 10,000 characters. |
Flags
| Flag | Type | Required | Description |
|---|---|---|---|
--thread | string | no | Reply in this thread (thread_id). |
--subject | string | no | Start a new thread with this subject. |
--mailbox | string | no | New thread only: the Mailbox to send from (mbx_...), one of the conversation's email.mailboxes. |
--cc | string | no | Cc addresses, repeatable or a comma list; every recipient sees them. |
--bcc | string | no | Bcc addresses, repeatable or a comma list; no other recipient sees them. |
--attach | string | no | A file on this machine to send, repeatable: at most 10, 20 MiB in all (never a URL). From a Microsoft sign-in Mailbox, about 2.2 MB in all go; more is refused with PLATFORM_ |
Also accepts these global flags: --api-key, --profile, --account, --team, --base-url, --timeout, --json, --fields, --preview, --verbose, --beta.
Exit codes: the exit code table. More commands: Unibox.