> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Send draft

> Send an existing Outlook draft.

`sendDraft` sends a draft created by `draftEmail`, `draftReply`,
`draftReplyAll`, or `draftForward`.

```ts automations/send-outlook-draft.automation.ts theme={null}
import { automation } from "automate.ax"
import { draftEmail, sendDraft } from "automate.ax/outlook"

export default automation("Send Outlook draft", () => {
  const draft = draftEmail({
    to: "reader@example.com",
    subject: "Ready",
    body: "Approved.",
  })
  sendDraft({ messageId: draft.messageId })
})
```

Required `messageId` must identify an unsent draft in the selected mailbox.
Optional `account` defaults to the project Microsoft binding. Returns
`Signal<void>`; Graph rejects non-draft or unavailable message IDs.
