Saltar al contenido principal

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