Skip to content

Email Templates

ANUKA transactional emails use a unified dark-theme design. Templates live in Supabase Auth config and are versioned here.

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>..." }

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 API is not accessible from automation — templates are pasted manually into the Brevo dashboard:

  1. Go to Brevo → Templates → Create new template
  2. Paste HTML from the repo files above
  3. Set template variables as listed
  4. Activate

⚠️ PEACH templates live on the same Brevo account. Do not touch them. They need migration to a separate account.

  • 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

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
  1. All emails use the dark ANUKA theme. No light templates.
  2. Logo is always the PNG wordmark from auth.anuka.pro (email clients don’t render SVG reliably).
  3. Table-based layout only — no div positioning for critical structure.
  4. Email-safe fonts (Arial, Courier New) — no web fonts.
  5. Every template version is committed here before applying.