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

# List email logs

> List Brevo transactional email records by recipient, template, or message.

`brevo.listEmailLogs` list Brevo transactional email records by recipient, template, or message.

## Example

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

export default automation("List email logs", () => {
  onDashboardRun({ title: "List email logs" })
  brevo.listEmailLogs({ email: "person@example.com", limit: 100 })
})
```

## Inputs

Provide at least one of `email`, `messageId`, or positive `templateId`. Optional dates must be paired. `limit` defaults to 50 (maximum 500), `offset` to 0, and `sort` to `desc`. The second argument can select `{ account }`.

## Output

Returns `{ count, emails }`. Each row includes its UUID, provider message ID, recipient, subject, date, and optional sender, tags, and template ID.
