ATStatus
ATStatus WikiLoading documentation...

Email Configuration

Set up email notifications for subscribers and alerts

Configure SMTP settings to enable email notifications for incident updates, maintenance windows, and subscriber communications.

SMTP Configuration

Add these variables to your .env file:

SMTP_HOST="smtp.example.com"
SMTP_PORT="587"
SMTP_USER="your-email@example.com"
SMTP_PASS="your-password"
SMTP_FROM="Status Page <noreply@example.com>"
SMTP_SECURE="false"

Provider Examples

Gmail

SMTP_HOST="smtp.gmail.com"
SMTP_PORT="587"
SMTP_USER="your-email@gmail.com"
SMTP_PASS="your-app-password"
SMTP_FROM="Status Page <your-email@gmail.com>"
SMTP_SECURE="false"
Gmail App Password: Gmail requires an App Password. Enable 2FA and generate one at Google Account Settings

SendGrid

SMTP_HOST="smtp.sendgrid.net"
SMTP_PORT="587"
SMTP_USER="apikey"
SMTP_PASS="SG.your-api-key"
SMTP_FROM="Status Page <noreply@yourdomain.com>"

Mailgun

SMTP_HOST="smtp.mailgun.org"
SMTP_PORT="587"
SMTP_USER="postmaster@your-domain.mailgun.org"
SMTP_PASS="your-mailgun-password"
SMTP_FROM="Status Page <noreply@your-domain.com>"

Amazon SES

SMTP_HOST="email-smtp.us-east-1.amazonaws.com"
SMTP_PORT="587"
SMTP_USER="your-ses-smtp-username"
SMTP_PASS="your-ses-smtp-password"
SMTP_FROM="Status Page <noreply@your-verified-domain.com>"

Testing Email

Test your email configuration:

  1. Go to Admin → Settings → Notifications
  2. Click Send Test Email
  3. Check your inbox

Email Templates

The following email templates are used:

TemplateTrigger
Incident CreatedNew incident reported
Incident UpdatedStatus or message changed
Incident ResolvedIncident marked resolved
Maintenance ScheduledNew maintenance window
Maintenance Starting30 minutes before start
Maintenance CompletedMaintenance ended
Subscription ConfirmedUser subscribes