Email Layout
Configure email branding per project: sender name/address, logo, primary color, and footer text. Used by magic link emails, verification codes, and password resets.
Endpoints (3)
Set or update email layout branding for this project. All fields are optional — only provided fields are updated. Cache is invalidated immediately.
| Field | Type | Required | Description |
|---|---|---|---|
from_name |
string | No | Sender display name (e.g. "WK Poule Supver PSV"). |
from_email |
string | No | Sender email address. Must be verified in your Resend account. |
logo_url |
string | No | URL to logo image (PNG or SVG, max 200px height). Shown at top of emails. |
primary_color |
string | No | Hex color for buttons and accents (e.g. "#ED1C24"). |
footer_text |
string | No | Text shown at the bottom of every email. |
html_template |
string | No | Full custom HTML template override. Available placeholders: {{login_url}}, {{code}}, {{reset_url}}, {{expires_time}}. Omit to use the default branded template. |
Get the current email layout configuration for this project. Returns null if no layout is configured (WP default is used).
No input parameters required.
Remove the email layout. Project falls back to WebsitePublisher default branding.
No input parameters required.
MCP Tool Names
When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:
| Endpoint | MCP Tool Name |
|---|---|
| configure | email_layout_configure |
| get | email_layout_get |
| delete | email_layout_delete |