📧 Available Templates
⚙️ Supabase & Email Template Environment Variables
Use these environment variables in your Supabase or Compose configuration:
MAILER_TEMPLATES_INVITE=https://your-coolify-domain.com/invite.html
MAILER_TEMPLATES_CONFIRMATION=https://your-coolify-domain.com/confirmation.html
MAILER_TEMPLATES_RECOVERY=https://your-coolify-domain.com/recovery.html
MAILER_TEMPLATES_MAGIC_LINK=https://your-coolify-domain.com/magic_link.html
MAILER_TEMPLATES_EMAIL_CHANGE=https://your-coolify-domain.com/email_change.html
MAILER_SUBJECTS_CONFIRMATION=Your confirmation subject
MAILER_SUBJECTS_RECOVERY=Your recovery subject
MAILER_SUBJECTS_MAGIC_LINK=Your magic link subject
MAILER_SUBJECTS_EMAIL_CHANGE=Your email change subject
MAILER_SUBJECTS_INVITE=Your invite subject
📋 Setup Instructions:
- Replace
your-coolify-domain.comwith your actual Coolify domain - Set these variables in your
.envfile or Compose environment - Restart your Supabase instance to apply changes
🛠️ Generate Your Environment Variables
💡 How to use:
- Enter your domain and custom subject lines
- Click Generate to get your environment variable block
- Copy and paste the block into your
.envor Compose file
🔧 API Endpoints
This service also provides API endpoints for template management:
GET /api/templates - List all templatesGET /api/templates/:name - Get specific templatePUT /api/templates/:name - Update templatePOST /api/preview/:name - Preview template with variablesGET /api/supabase-config - Get Supabase configurationGET /health - Health check
✅ Service Status: Email templates service is running
and ready for use.