Email Footer
An Email Footer is a reusable visual block appended to the very bottom of outgoing transactional email notifications sent by Gamopanda (such as streak milestone rewards, challenge completions, or failure notifications). It allows you to maintain consistent branding, compliance links (like unsubscribing), and legal info across different email templates.
The htmlContent field is localisable. Pass a languageCode query parameter when updating or fetching the email footer to manage translations for international customers.
How it works
- Create an email footer — define a name, description, status, and write the custom HTML content for your footer.
- Include compliance and links — embed legal links (like terms of service, privacy policy) and required unsubscribe tags inside the HTML block.
- Use template variables — use curly braces
{{ }}to insert dynamic values. E.g.,{{ $account.name }}dynamically inserts your account's name, and{{ $metadata.unsubscribeUrl }}inserts the unique unsubscribe link. - Link to email templates — associate the email footer with an Email Template by setting its
emailFooterIdfield. - Send branded emails — when Gamopanda dispatches transactional emails using that template, the footer is dynamically appended to the email body.
Fields
Basic information
| Field | Type | Required | Max length | Description |
|---|---|---|---|---|
name | string | ✅ | 256 | The name of the email footer |
description | string | ❌ | 1 024 | A brief description of the email footer |
status | enum | ✅ | — | draft · live · paused |
Content settings
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
htmlContent | string | ❌ | (Default template) | The HTML content of the email footer. Supports template variables using curly braces {{ }}. This field is localisable. |
The default htmlContent is set to:
Code
Template variables
The htmlContent field supports template variables resolved at runtime using curly braces {{ }}:
| Variable | Description | Example resolved value |
|---|---|---|
{{ $account.name }} | The name of your Gamopanda account | Acme Shop |
{{ $metadata.unsubscribeUrl }} | Unique, secure link for the recipient to opt out of emails | https://api.gamopanda.com/unsubscribe/usr_123 |
Real-world examples
🛍️ E-commerce — Default Brand Footer
Used for standard customer communications containing legal and unsubscribe links.
Code
Access & permissions
| Caller | Allowed operations | Notes |
|---|---|---|
| Admin | CREATE · GET · LIST · UPDATE · DELETE | Full control over email footers |
| End user | (none) | No access |
| Guest user | (none) | No access |
Related resources
| Resource | Description |
|---|---|
| Email Header | Reusable HTML header prepended to transactional emails |
| Email Template | Custom templates wrapping the notification message body |
| Email Notification | Subscribed transactional email notification configurations |
API reference
See the API Reference for full request/response schemas and interactive examples for:
GET /schema/email_footer/record— list email footersPOST /schema/email_footer/record— create an email footerGET /schema/email_footer/record/{id}— get an email footer by IDPATCH /schema/email_footer/record/{id}— update an email footerDELETE /schema/email_footer/record/{id}— delete an email footer