Email Layout
Configure email branding per project: sender name/address, logo, primary color, footer text, and language. Used by magic link emails, verification codes and password resets, and as the shared brand shell (logo or sender name, card, footer text) around every email-templates template whose html_body is a fragment without doctype, html or body tag.
Try it with your AI assistant
Once WebsitePublisher is connected to your AI assistant, paste one of these into the chat. Replace the parts in [brackets] with your own details.
@WebsitePublisher use my logo, brand color and sender name [Your Shop] in every email my site sends@WebsitePublisher send the login and booking emails of my site in DutchWith WebsitePublisher, use my logo, brand color and sender name [Your Shop] in every email my site sendsWith WebsitePublisher, send the login and booking emails of my site in DutchWith WebsitePublisher, use my logo, brand color and sender name [Your Shop] in every email my site sendsWith WebsitePublisher, send the login and booking emails of my site in DutchEndpoints (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 |
|---|---|---|---|
locale |
string | No | Email language for the built-in templates: "en" or "nl". Default is "en". Ignored when html_template is set. |
from_name |
string | No | Sender display name (e.g. "My Bakery"). |
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 |
Website