Create Email Draft
email_draft_createCreate a new email draft (composed but not sent). Drafts can be incomplete — missing recipients, subject, or body. Use email_draft_send later to actually deliver, or email_draft_delete to discard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipients. | |
| to | No | Recipient email addresses (may be empty for an incomplete draft). | |
| bcc | No | BCC recipients. | |
| body | No | Plain-text body. | |
| agentId | Yes | Owning agent ID. | |
| subject | No | Subject line. | |
| bodyHtml | No | HTML body. | |
| metadata | No | Arbitrary metadata. | |
| inReplyTo | No | Optional In-Reply-To Message-ID for threading on send. | |
| references | No | Optional References chain for threading. | |
| fromIdentityId | No | Optional EmailIdentity ID to send from. Must belong to this agent and be verified. If omitted, the agent's primary identity is used at send time. Discover available IDs from the `emailIdentities` array returned by agent_get. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||