Email Templates
ANUKA transactional emails use a unified dark-theme design. Templates live in Supabase Auth config and are versioned here.
Magic Link + OTP
Section titled “Magic Link + OTP”The sign-in email sent via Supabase Auth (Brevo SMTP). Contains:
- Magic Link — one-click sign-in button (cyan pill)
- Verification Code — 6-digit OTP in mono font
Supabase template: magic-link.html
Brevo template: email-templates/brevo/anuka-magic-link.html (in anuka-auth-app repo)
Applied via Supabase Management API:
PATCH /v1/projects/{ref}/config/auth{ "mailer_templates_magic_link_content": "<html>..." }Approval Request
Section titled “Approval Request”Agent action approval email. Contains:
- Request card — dashed cyan border with action type, agent info, project
- Requestor block — agent name + provider, project name
- CTA — outlined “Review & Approve” button
Brevo template: email-templates/brevo/anuka-approval-request.html (in anuka-auth-app repo)
Brevo variables: {{params.ACTION_TYPE}}, {{params.AGENT_NAME}}, {{params.AGENT_PROVIDER}}, {{params.PROJECT_NAME}}, {{params.ACTION_DESCRIPTION}}, {{params.APPROVE_URL}}, {{params.EXPIRES_IN}}
Brevo setup
Section titled “Brevo setup”Brevo API is not accessible from automation — templates are pasted manually into the Brevo dashboard:
- Go to Brevo → Templates → Create new template
- Paste HTML from the repo files above
- Set template variables as listed
- Activate
⚠️ PEACH templates live on the same Brevo account. Do not touch them. They need migration to a separate account.
Design tokens
Section titled “Design tokens”- Background:
#0a0f1e - Accent:
#00d4ff(buttons, links) - Text:
#ffffff/ muted#9aa7b8 - Code font: monospace (email-safe)
- Logo:
https://auth.anuka.pro/anuka-wordmark.png - Tagline:
NETWORK STATE OS
Responsive
Section titled “Responsive”All templates use table-based layout with mobile media queries:
- Container: 560px desktop → 100% mobile
- Buttons: full-width on mobile (375px)
- OTP code: reduced letter-spacing on mobile
- Requestor block stacks vertically on mobile
- All emails use the dark ANUKA theme. No light templates.
- Logo is always the PNG wordmark from auth.anuka.pro (email clients don’t render SVG reliably).
- Table-based layout only — no div positioning for critical structure.
- Email-safe fonts (Arial, Courier New) — no web fonts.
- Every template version is committed here before applying.