# ovok.email

Canonical page: https://docs.ovok.com/web-sdk/core/namespaces/email

Email settings of the project. Today it exposes the template list, which shows what each template needs.

## List email templates [#list-email-templates]

```ts
const { templates } = await ovok.email.templates.list();

for (const template of templates) {
  console.log(template.name, template.audience, template.params);
}
```

- Each template has a `name`, an `audience` (the kind of recipient), the `params` it accepts, an `example` of parameter values, and the placeholder `syntax` per email provider.
- Calls `GET v1/email/templates`. It needs a signed-in user.
- It lists templates only. It does not send email or change a template.

## Reference [#reference]

- [email API reference](/web-sdk/core/reference/core/email): every method and type.
- [Errors and retries](/web-sdk/core/errors-and-retries)
