Ga naar hoofdinhoud

Email Integration

Email configuration for notifications, invitations, and transactional messages.

Email Providers​

ProviderConfiguration
SMTPStandard SMTP server
SendGridSendGrid API
MailgunMailgun API

Configuration​

SMTP​

MAIL_FROM_ADDRESS=noreply@yourdomain.com
MAIL_HOST=smtp.yourdomain.com
MAIL_PORT=587
MAIL_USERNAME=your-email@yourdomain.com
MAIL_PASSWORD=your-email-password

SendGrid​

MAIL_FROM_ADDRESS=noreply@yourdomain.com
SENDGRID_API_KEY=SG.your-sendgrid-api-key

Transactional Emails​

EmailTrigger
WelcomeUser registration
Email VerificationAccount creation
Password ResetPassword reset request
InvitationEmployee/user invite
Timesheet ReminderTimesheet submission due
Timesheet ApprovedTimesheet approved
Invoice SentInvoice emailed to client

Email Templates​

Templates are located in the API assets directory:

packages/core/src/lib/email-template/
β”œβ”€β”€ templates/
β”‚ β”œβ”€β”€ welcome/
β”‚ β”œβ”€β”€ invite/
β”‚ β”œβ”€β”€ password-reset/
β”‚ β”œβ”€β”€ email-verification/
β”‚ └── invoice/

Templates support:

  • Handlebars syntax for dynamic content
  • Organization branding (logo, colors)
  • Multi-language support