Skip to content

Email Templates

NuxtBase ships Vue-based email templates, plus server-side message builders that decide subject lines and props.

The shared visual shell is:

app/emails/components/BaseActionEmail.vue

This component controls the common visual language for action-based emails:

  • card layout
  • button styling
  • heading style
  • fallback link block
  • font stack and spacing

If you want all action emails to look more branded, start here.

The template set currently includes:

  • VerifyEmail
  • ResetPassword
  • MagicLink
  • OrganizationInvitation
  • WaitlistVerification
  • VerificationCode
  • CreditsAlert
  • SubscriptionChange

These files live under:

app/emails/

The message definitions are built in:

server/utils/email-templates.ts

That file controls:

  • subjects
  • template names
  • props passed into each email
  • debug message definitions used by email debugging flows

This means a real email customization often touches both:

  • the Vue template
  • the corresponding builder function

Use this rule of thumb:

  • change BaseActionEmail.vue for shared visual style
  • change app/emails/*.vue for template-specific structure
  • change server/utils/email-templates.ts for subject lines and dynamic copy assembly