# Get the project's email providers

Canonical page: https://docs.ovok.com/api/email/get-the-project-s-email-providers

`GET /v1/email/templates/provider`

Returns which email providers your current project has set up, whether each can send, and the sender address. It never returns a secret.

**Auth:** bearer token of a project admin. The caller must also be a Practitioner, an admin or hold the System Owner access policy.
**Scope:** the caller's project (from the token).

## Behaviour

- `providers` lists `brevo`, `sendgrid`, `resend` and `smtp`, each with `configured` and `ready`.
- `configured` is `true` when the project holds a secret for the provider that this server can read: its API key, or the SMTP URL. A secret stored with another key reads as not configured; set it up again with `POST`.
- `ready` is `true` when the provider can send: it is configured and, for SendGrid and SMTP, the project has a sender address.
- `from` is the sender address (the `EMAIL_FROM` secret), or `null`.
- These are the caller's project's own secrets. A mail sent through a parent project's or the platform's template mapping uses that project's secrets, not these.
- The project's email template mappings (`GET /v1/projects/me/email-templates`) say which provider each mail is sent through. A mapping sends only when its provider is ready.

## Example

```bash
curl -X GET 'https://api.sandbox.ovok.com/v1/email/templates/provider' \
  -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3NjcyNjg4MDAsImV4cCI6MTc2NzI3MjQwMH0.Ql3B_ztDvctlyZ2z0vp4sl3ExXRQGkzmxdmTAqxNzZk'
```
