Ga naar hoofdinhoud

Email Templates Deep Dive

Customize and manage transactional email templates.

Overview

Gauzy sends transactional emails for:

  • Welcome emails
  • Password resets
  • Timesheet approvals
  • Invoice notifications
  • Team invitations
  • Task assignments

Template Engine

Templates use Handlebars syntax:

<h1>Welcome to {{organizationName}}, {{firstName}}!</h1>
<p>Your account has been created. Click below to get started:</p>
<a href="{{loginUrl}}">Login to Gauzy</a>

Available Templates

TemplateTrigger
welcome-userNew user created
invite-userTeam invitation
password-resetPassword request
timesheet-submittedTimesheet submitted
timesheet-approvedTimesheet approved
timesheet-deniedTimesheet denied
invoice-sentInvoice emailed
payment-receivedPayment confirmation
task-assignedTask assignment

Customizing Templates

  1. Go to SettingsEmail Templates
  2. Select template to edit
  3. Modify the HTML and subject line
  4. Use variables: {{firstName}}, {{organizationName}}, {{link}}
  5. Preview and save

Template Variables

VariableAvailable In
{{firstName}}All templates
{{lastName}}All templates
{{email}}All templates
{{organizationName}}All templates
{{link}}Password reset, invite
{{amount}}Invoice, payment
{{invoiceNumber}}Invoice templates

SMTP Configuration

MAIL_FROM_ADDRESS=noreply@your-domain.com
MAIL_HOST=smtp.your-provider.com
MAIL_PORT=587
MAIL_USERNAME=your-username
MAIL_PASSWORD=your-password