> ## 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.

# Draft reply all

> Create an Outlook reply-all draft for later review.

`draftReplyAll` creates an unsent reply using Outlook's reply-all recipients.

```ts automations/draft-outlook-reply-all.automation.ts theme={null}
import { automation } from "automate.ax"
import { draftReplyAll } from "automate.ax/outlook"

export default automation("Draft Outlook reply all", () => {
  draftReplyAll({
    messageId: "AAMkAGI2...",
    bodyType: "html",
    body: "<p>Proposed response.</p>",
  })
})
```

`messageId` is required. `body` and `bodyType` are optional; body type defaults
to text when content is supplied. Optional `account` selects the binding.
Returns the draft `OutlookMessage`. Review its recipients before sending because
Outlook may include the original message's full recipient set.
