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

# Get scheduled email

> Retrieve one scheduled Brevo email or batch.

`brevo.getScheduledEmail` retrieve one scheduled Brevo email or batch.

## Example

```ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { brevo } from "automate.ax/brevo"

export default automation("Get scheduled email", () => {
  onDashboardRun({ title: "Get scheduled email" })
  brevo.getScheduledEmail({
    identifier: "44a78691-b608-4c6a-9c88-7599024d2c76",
  })
})
```

## Inputs

`identifier` is a batch UUID or provider message ID. Optional paired dates and `status` (`processed`, `inProgress`, or `queued`) filter batch results. `limit` defaults to 50, `offset` to 0, and `sort` to `desc`. The second argument can select `{ account }`.

## Output

Returns one `{ createdAt, scheduledAt, status }` record or `{ count, batches }`, depending on the identifier.
