Documentation
Sign inGet started

bird email threads messages reply

Usage

Code example
bird email threads messages reply <thread-id> <message-id> [flags]

Description

Reply to a thread message
Sends a reply from the mailbox's own address. Recipients and threading headers are derived from the message being replied to. To reply to a whole conversation, target its newest received message.
Build the request from flags, a JSON EmailThreadMessageReplyRequest body via --body-file ("-" reads stdin), or both — a flag overrides the matching body field. Run --example to print a ready-to-edit body, or --dry-run to print the resolved request without sending it.

Examples

Code example
# print the body shape (no credentials needed)
bird email threads messages reply --example

# the body it prints:
Code example
{
  "text": "Thanks, confirming we received your request."
}

Options

Content

NameDescription
--htmlHTML body of the reply
--textPlain-text body of the reply
--reply-allAlso send the reply to the original To and Cc recipients

Labels & metadata

NameDescription
--tag <key=value>Tag as name=value; repeatable
--metadataArbitrary JSON metadata object

Delivery

NameDescription
--categorySuppression policy: marketing or transactional; defaults to transactional

Request

NameDescription
--body-fileRead the JSON request body from this file; "-" reads stdin
--examplePrint a complete example request body, then exit
--dry-runPrint the resolved request without sending it, then exit
--idempotency-keyDeduplication key; a retry with the same key won't act twice

Options

NameDescription
--response-schemaPrint the fields this command returns, then exit
NameDescription
bird email threads messages attachmentDownload an attachment from a thread message
bird email threads messages attachmentsList a thread message's attachments
bird email threads messages bodyGet a thread message's original body
bird email threads messages getGet a message in a thread
bird email threads messages listList messages in a thread
bird email threads messages rawDownload a thread message's raw RFC 5322 content