StatusPal
StatusPal.ioBlog
Documentation
Documentation
  • Introduction
  • Get Started
    • Key concepts
    • Step 1 - Configure services
    • Step 2 - Add your team
    • Step 3 - Personalize design
    • Step 4 - Enable notifications
    • Step 5 - Report an incident
  • Next Steps
  • FAQ
  • 1-Click Import
    • Atlassian Statuspage Importer
    • Status.io Importer (beta)
  • Platform
    • Services/components
      • Dependencies
    • Subscriptions & Notifications
      • Subscriptions
      • Notifications
      • Auto-maintenance notifications
      • Subscription Groups
      • Import email subscribers
      • Auto-subscribe to private status page
      • Custom email templates
        • Template examples
    • Incidents & Maintenance
      • Reporting an Incident
      • The Uptime Calendar Page
      • Custom Incident Types
      • Exporting your incidents
    • Information Notices
    • Private Status Page
      • Adding people to your status page
      • Access Groups/Audience Specific
    • Team Members
    • Status Page Settings & Design
      • Custom Domain
      • Advanced Settings
      • Design Customization
        • Design recipes
    • Multi-Language
    • Status Badge & Banner Widget
    • Integrations
      • Terraform
      • Datadog Metrics
      • Zoom Notifications
      • Google Analytics
      • Google Calendar
      • SendGrid Email Notifications
      • PagerDuty + Statuspal status page
      • Configure SSO for your status page with Okta
      • Configure SSO for your status page with Auth0
      • Configure your Mailgun Integration
      • Configure SMS Notifications (Twilio Integration)
      • Zabbix
      • Pingdom
      • Checkly
      • New Relic
      • Datadog
      • BetterUptime
  • Monitoring & automation
    • Out-of-the-box monitoring
    • Incident automation
    • Recurring maintenance
  • Security
    • Single Sign-On
      • Save your Recovery Codes
      • Configure Role provisioning from SAML attributes
      • Configure role provisioning for Okta
    • API Keys
Powered by GitBook
On this page
  • The Layout Template
  • The Content Templates
  • Premailer
  • Test and Enable
  • Available email template variables
  • Notification email subject variables
  • Customizing your Templates to Include your Company Logo
  1. Platform
  2. Subscriptions & Notifications

Custom email templates

Easily customize your email notifications templates with subscriptions settings.

PreviousAuto-subscribe to private status pageNextTemplate examples

Last updated 7 months ago

Statuspal allows you to fully customize the look of your subscriber emails (confirmation and status notifications), you'll find this settings under Sidebar > Subscriptions > Settings:

The Layout Template

The Content Templates

Premailer

Test and Enable

Once you've configured the templates (and clicked on Submit) you can send a test email before you enable the templates, if they look good you can enable them so they are used on all future emails.

Available email template variables

When customizing the email templates HTML the following variables are available:

Translations

t_update

"Update"

t_affected_services

"Affected services"

t_find_out_more

"Find out more at our"

t_status_page

"Status Page"

t_manage_subscription

"Manage subscription"

t_open_report

"Open incident report" or "Open maintenance report"

Incident variables

status_page.name

The status page name

incident.type_name

The incident type name (Minor, Major)

incident.title

The title of the incident

incident.type_color_class

The CSS class that we'll apply to set the color of the notification • ok when it's a maintenance • bad when it's a major incident • warning when it's a minor incident • good when it's a resolved incident • info when it's an information notice

incident.url

The URL to the incident

activity.activity_type_name

The incident update type name (Issue, Investigating, Monitoring, Resolved, etc)

activity.description

The incident update description

maintenance_information

If a maintenance, the start and end of the maintenance will be here

services

The list of services, rendered as HTML (<div class="services">...</div>)

subscription.manage_url

The URL where the subscribers can manage their subscription

Notification email subject variables

The following variables are available:

activity_type_name

The incident update type name (Issue, Investigating, Monitoring, Resolved, etc)

status_page_name

The status page name

incident_type_name

The incident type name (Minor, Major)

incident_id

The incident ID

incident_title

The title of the incident

Customizing your Templates to Include your Company Logo

Including your company logo is easy with the fields described above, after adding your company logo this is how the emails will look:

First you'll need to configure a layout template, basically the parent template that will render the content template under {{ content }}, this way you can reuse some HTML and styles across the content templates, see an example .

Then you can configure the template for both types of emails, you can see examples of both containing the supported variables .

We use Premailer on the email templates before sending the emails, so CSS styles are converted to inline style attributes and .

You can customize the incident notification subject via a editing the subscriber_email.subject field, you can reference variables through the format {{ variable_name }}.

Simply use the HTML content found in and replace the logo image (<img ... class="logo"/>) with your logo image.

other niceties
custom translation
Template exampes
here
here