# Automation e-mail

`GET https://api.tentary.com/v1/email/automation-emails/{email_id}`

Source: https://tentary.com/en/help/api/get-automation-email/
Area: Emails
MCP tool: `get_automation_email`. Reads only. Changes nothing in the account.

---

One email of an automation with its subject, full text (HTML), status and send time.

The fields have the same names as in [`PATCH /v1/email/automation-emails/{email_id}`](https://tentary.com/en/help/api/update-automation-email/).

## Authorization

`Authorization: Bearer <API key>`

A personal API key (tnt_...). Create it in the Tentary app on the page AI & API.

## Path parameters

- `email_id` (integer, required, path): The id of an e-mail from get_email_automation. Limits: min 1.

## Response

- `id` (integer): The ID.
- `automation_id` (integer): The automation ID.
- `name` (string): The name.
- `subject` (string): The subject line.
- `body_html` (string): The text as HTML.
- `status` (string): The status. Allowed values: `active`, `inactive`.
- `send_after_days` (integer): Days after the trigger. 0 = at once.
- `send_hour_utc` (integer, can be null): Hour (UTC) of the send day. null with send_after_days 0.
- `admin_url` (string<uri>): The page in the Tentary app.

## Example request

```bash
curl "https://api.tentary.com/v1/email/automation-emails/861" \
  -H "Authorization: Bearer $TENTARY_API_KEY"
```

## Example response

```json
{
  "id": 861,
  "automation_id": 851,
  "name": "Day 1",
  "subject": "Welcome, %FIRST_NAME%!",
  "body_html": "<p>Thank you for joining. Here is my favourite morning routine.</p>",
  "status": "active",
  "send_after_days": 0,
  "send_hour_utc": null,
  "admin_url": "https://app.tentary.com/emails/automation/edit/851/step/edit/861"
}
```
