---
title: "Update a send-email/notify node's email content"
method: PATCH
path: "/v1/projectId/{projectId}/automations/{automationId}/email/{id}"
tags: ["Automations"]
---

# Update a send-email/notify node's email content

`PATCH /v1/projectId/{projectId}/automations/{automationId}/email/{id}`

## Request

- Base URL: `https://api.bluefox.email`
- URL: `https://api.bluefox.email/v1/projectId/{projectId}/automations/{automationId}/email/{id}`
- Auth: HTTP bearer

Merges the given fields into the existing content. Same draft/live routing as node edits - while the automation is active/paused this is staged and has no effect until POST .../merge-draft.

## Path parameters

- `projectId` string, required
- `automationId` string, required
- `id` string, required

## Request body

- AutomationEmailContentInput
  - `subject` string
  - `previewText` string
  - `type` 'chamaileon' | 'html' | 'text'
  - `document` unknown
  - `senderIdentity` string
  - `replyTo` string
  - `feeds` object[]

## Response `200`

OK

- object
  - `status` integer
  - `result` AutomationEmailContent
    - `_id` string
    - `subject` string
    - `previewText` string
    - `type` 'chamaileon' | 'html' | 'text'
    - `document` unknown
    - `senderIdentity` string
    - `replyTo` string
    - `feeds` object[]

## Other responses

- `400`: Invalid request body or query - every violation found (missing/invalid/unexpected fields) is reported in one response, semicolon-separated, not just the first one hit.
- `403`: Missing or invalid API key
- `404`: Email not found

---

[API](https://skmtc.dev/bluefox/apis/bluefox-email-public-api.md) · [All operations](https://skmtc.dev/bluefox/apis/bluefox-email-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/bluefox/apis/bluefox-email-public-api/revisions/fa1a0a835c7f?raw)
