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

# Reply

> Reply to the sender of an Outlook message.

`reply` sends an immediate reply to the original sender. Use `draftReply` when
the response needs review, edits, or attachments first.

```ts automations/reply-outlook-message.automation.ts theme={null}
import { automation } from "automate.ax"
import { onNewEmail, reply } from "automate.ax/outlook"

export default automation("Reply to Outlook mail", () => {
  const email = onNewEmail()
  reply({
    messageId: email.messageId,
    body: "Thanks, we received your message.",
  })
})
```

Required `messageId` and `body` accept compatible signals. `bodyType` is
`"text" | "html"` and defaults to text. Optional `account` selects the binding.
Returns `Signal<void>`; Graph chooses the reply recipient from the original
message.
