Skip to content

Email Templates Module Documentation

11 min readUpdated: Sep 26, 2026
View as Markdown
  1. Navigation & Access
  2. Screenshots & Visual Interface
  3. 🎯 User Roles & Key Capabilities
  4. Module Overview (Technical)
  5. Module Overview (Commercial/Business)
  6. Module Overview (End User/Administrator)
  7. Configuration Sections
  8. Settings Reference
  9. Common Scenarios & Examples
  10. Model Context Protocol (MCP) AI Integration
  11. Limitations & Important Notes
  12. Troubleshooting Tips
  13. Glossary

To access the Email Templates module:

  1. Log in to the Ring2All Web Portal (https://<domain-or-ip>/login).
  2. In the left navigation sidebar, expand Admin.
  3. Under System Settings, click Email Template (/admin/system-settings/email-template).
  4. To modify an existing notification template, click on the template row or the edit action icon in the table (/admin/system-settings/email-template/:id).

The Email Templates catalog lists all system notification types (New Voicemail, Extension Welcome, Emergency Notification, Tenant Welcome, Missed Call, Fax Delivery, Call Analysis) with their slug keys, subject lines, active states, and editing controls. Email Templates List

The email template editor enables customization of email subjects, dynamic placeholders (e.g. {{caller_id}}, {{extension}}, {{duration}}, {{vm_link}}), HTML body markup, and plain-text fallback content. Email Template Configuration Form


The Email Templates module standardizes and styles automated outbound email notifications across the PBX platform:

Role Key Capabilities & Operational Scope
Super Administrator Creates and manages baseline global notification templates (Voicemail Alerts, Fax Receipts, Password Resets, Emergency Calls).
Tenant Administrator Tailors email subject lines, customizes HTML layouts with company logos, and adjusts dynamic placeholders for organizational branding.
Support Lead / Customer Success Tests template rendering across desktop and mobile email clients and reviews placeholder variables to ensure clear messaging.
Telephony Auditor (Read-Only) Examines active email template contents, sender addresses, and dynamic interpolation parameters without modification privileges.

Email Templates is a notification template module that manages customizable email layouts for system notifications. Templates support HTML and plain text content with variable substitution for dynamic data.

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Email Templates Architecture β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β”‚
β”‚ Email Template Definition β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ β”‚ Template: New Voicemail β”‚ β”‚
β”‚ β”‚ β”‚ β”‚
β”‚ β”‚ Basic Info: β”‚ β”‚
β”‚ β”‚ β”œβ”€ Name: New Voicemail Notification β”‚ β”‚
β”‚ β”‚ β”œβ”€ Slug: new-voicemail β”‚ β”‚
β”‚ β”‚ β”œβ”€ Subject: New voicemail from {{caller_name}} β”‚ β”‚
β”‚ β”‚ β”œβ”€ From: voicemail@company.com β”‚ β”‚
β”‚ β”‚ └─ Status: Active β”‚ β”‚
β”‚ β”‚ β”‚ β”‚
β”‚ β”‚ Content: β”‚ β”‚
β”‚ β”‚ β”œβ”€ HTML: <html>... {{caller_name}} ...</html> β”‚ β”‚
β”‚ β”‚ └─ Plain Text: You have a new voicemail... β”‚ β”‚
β”‚ β”‚ β”‚ β”‚
β”‚ β”‚ Variables: {{caller_name}}, {{duration}}, {{date}} β”‚ β”‚
β”‚ β”‚ β”‚ β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚ β”‚ β”‚
β”‚ β–Ό Used by notification system β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ β”‚ Email Sender β”‚ β”‚
β”‚ β”‚ β”‚ β”‚
β”‚ β”‚ 1. Receive notification request β”‚ β”‚
β”‚ β”‚ 2. Find template by slug β”‚ β”‚
β”‚ β”‚ 3. Replace variables with actual values β”‚ β”‚
β”‚ β”‚ 4. Send via SMTP (Email Settings) β”‚ β”‚
β”‚ β”‚ β”‚ β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Email Templates provides branded communications:

Without Email Templates With Email Templates
Generic emails Branded design
Fixed content Customizable
No variables Dynamic data
One format HTML + Plain text
  1. Voicemail Notifications

    • Customize voicemail email layout
    • Include caller info dynamically
  2. System Alerts

    • Branded alert design
    • Consistent formatting
  3. User Notifications

    • Password reset emails
    • Account notifications
  4. Fax Notifications

    • Fax receipt emails
    • Custom branding
Feature Benefit
Slug Identifier System lookup
HTML Content Rich formatting
Plain Text Fallback support
Variables Dynamic content
Sender Override Per-template sender
Active/Inactive Enable/disable

  • Create email templates
  • Customize HTML and plain text content
  • Use variables for dynamic data
  • Override sender information
  • Enable/disable templates
  • Duplicate existing templates
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Email Templates β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β”‚
β”‚ Manage system email templates for notifications and alerts β”‚
β”‚ β”‚
β”‚ [+ New Template] β”‚
β”‚ β”‚
β”‚ [πŸ” Search templates...] β”‚
β”‚ β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚
β”‚ β”‚ Name β”‚ Slug β”‚ Subject β”‚ Status β”‚ β”‚
β”‚ β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€ β”‚
β”‚ β”‚ New Voicemail β”‚ new-voicemail β”‚ New voicemail β”‚ Active β”‚ β”‚
β”‚ β”‚ Fax Received β”‚ fax-received β”‚ Fax from... β”‚ Active β”‚ β”‚
β”‚ β”‚ Password Reset β”‚ password-reset β”‚ Reset your... β”‚ Active β”‚ β”‚
β”‚ β”‚ System Alert β”‚ system-alert β”‚ Alert: ... β”‚ Active β”‚ β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚
β”‚ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Edit Template: New Voicemail β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ β”‚
β”‚ β–Ό Basic Information β”‚
β”‚ β”‚
β”‚ Name: [New Voicemail Notification ] β”‚
β”‚ Personalized name for the template β”‚
β”‚ β”‚
β”‚ Slug (Identifier): [new-voicemail ] β”‚
β”‚ Unique identifier used by the system β”‚
β”‚ β”‚
β”‚ Subject: [New voicemail from {{caller_name}}] β”‚
β”‚ The subject line that recipients will see β”‚
β”‚ β”‚
β”‚ From Email: [voicemail@company.com ] β”‚
β”‚ Override the default sender email β”‚
β”‚ β”‚
β”‚ From Name: [Company Voicemail ] β”‚
β”‚ Override the default sender name β”‚
β”‚ β”‚
β”‚ ──────────────────────────────────────────────────────────────│
β”‚ β”‚
β”‚ β–Ό Template Content β”‚
β”‚ β”‚
β”‚ HTML Content: β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚ β”‚ <!DOCTYPE html> β”‚β”‚
β”‚ β”‚ <html> β”‚β”‚
β”‚ β”‚ <body style="font-family: Arial, sans-serif;"> β”‚β”‚
β”‚ β”‚ <h2>New Voicemail</h2> β”‚β”‚
β”‚ β”‚ <p>You have a new voicemail from <b>{{caller_name}}</b> β”‚β”‚
β”‚ β”‚ ({{caller_number}}).</p> β”‚β”‚
β”‚ β”‚ <p>Duration: {{duration}}</p> β”‚β”‚
β”‚ β”‚ <p>Received: {{date}}</p> β”‚β”‚
β”‚ β”‚ </body> β”‚β”‚
β”‚ β”‚ </html> β”‚β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
β”‚ β”‚
β”‚ Plain Text Content: β”‚
β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚ β”‚ New Voicemail β”‚β”‚
β”‚ β”‚ β”‚β”‚
β”‚ β”‚ You have a new voicemail from {{caller_name}} β”‚β”‚
β”‚ β”‚ ({{caller_number}}). β”‚β”‚
β”‚ β”‚ Duration: {{duration}} β”‚β”‚
β”‚ β”‚ Received: {{date}} β”‚β”‚
β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
β”‚ β”‚
β”‚ ──────────────────────────────────────────────────────────────│
β”‚ β”‚
β”‚ β–Ό Available Variables β”‚
β”‚ β”‚
β”‚ Click on a variable to insert it into the editor β”‚
β”‚ β”‚
β”‚ [{{caller_name}}] [{{caller_number}}] [{{duration}}] β”‚
β”‚ [{{date}}] [{{time}}] [{{extension}}] [{{mailbox}}] β”‚
β”‚ β”‚
β”‚ ──────────────────────────────────────────────────────────────│
β”‚ β”‚
β”‚ β–Ό Status β”‚
β”‚ β”‚
β”‚ Active: βœ“ β”‚
β”‚ Enable or disable this template β”‚
β”‚ β”‚
β”‚ [Save Template] [Cancel] β”‚
β”‚ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

[!TIP] Click to Insert: Click variables to insert at cursor position.

[!TIP] Both Formats: Always provide HTML and plain text versions.

[!NOTE] Slug Unique: Each template needs a unique slug identifier.


Field Description
Name Display name
Slug System identifier
Subject Email subject line
From Email Sender email override
From Name Sender name override
Field Description
HTML Content Rich text version
Plain Text Fallback version
Field Description
Variables Click to insert
Field Description
Active Enable/disable template

Slug Purpose
new-voicemail Voicemail notification
fax-received Fax receipt notification
password-reset Password reset request
system-alert System alerts
missed-call Missed call notification
account-welcome New account welcome
Variable Description
{{caller_name}} Caller’s name
{{caller_number}} Caller’s phone number
{{extension}} Extension number
{{mailbox}} Voicemail mailbox
{{duration}} Call/message duration
{{date}} Date of event
{{time}} Time of event
{{company_name}} Company name
{{user_name}} Recipient name
Practice Recommendation
Inline CSS Use inline styles
Simple Layout Table-based layout
Fallback Fonts System font stack
Alt Text For all images
Width Max 600px

  1. Find template β€œnew-voicemail”
  2. Edit HTML content
  3. Add company logo
  4. Customize styling
  5. Update plain text
  6. Save
  1. Click New Template
  2. Enter name and slug
  3. Write subject with variables
  4. Create HTML content
  5. Create plain text fallback
  6. Enable and save
<!DOCTYPE html>
<html>
<body style="font-family: Arial; background: #f5f5f5; padding: 20px;">
<div style="max-width: 600px; margin: 0 auto; background: white; padding: 20px;">
<img src="https://company.com/logo.png" alt="Company" style="max-width: 150px;">
<h2 style="color: #333;">{{subject}}</h2>
<p>{{content}}</p>
<hr style="border: 1px solid #eee;">
<p style="color: #666; font-size: 12px;">Β© 2025 Company Name</p>
</div>
</body>
</html>

Subject:

New voicemail from {{caller_name}} ({{caller_number}})

Result:

New voicemail from John Smith (+1-555-123-4567)

The Ring2All PBX platform provides Model Context Protocol (MCP) tools for inspecting system email notification templates and available dynamic placeholders.

Tool Name Operation Description Risk Level
list_email_templates Read Lists all system email notification templates (voicemail, password resets, welcome emails). Low
get_email_template_status Read Retrieves subject line, sender details, HTML/text body structure, and interpolation variables. Low
{
"name": "list_email_templates",
"description": "Lists all system email notification templates.",
"parameters": {
"type": "object",
"properties": {
"search": {
"type": "string",
"description": "Filter by template name or slug"
}
}
}
}
{
"name": "get_email_template_status",
"description": "Retrieves configuration and available interpolation variables for an email template.",
"parameters": {
"type": "object",
"properties": {
"template_id": {
"type": "number",
"description": "Internal numeric email template identifier"
},
"slug": {
"type": "string",
"description": "Template slug identifier (e.g. 'voicemail_notification', 'password_reset')"
}
}
}
}
  • β€œList all configured email templates and their active statuses.”
  • β€œShow the subject line and dynamic variables available for the β€˜New Voicemail’ email template.”
  • β€œCheck the HTML body template for user password reset notifications.”
  • β€œMuestra todas las plantillas de correo electrΓ³nico configuradas en el sistema.”
  • β€œConsulta el asunto y las variables disponibles para la plantilla de β€˜NotificaciΓ³n de Correo de Voz’.”
  • β€œVerifica el contenido de la plantilla de bienvenida para nuevas extensiones.”
  1. Slug Immutability: System template slugs (e.g. voicemail_notification) are immutable to ensure background notification services can always reliably resolve them.
  2. Dual-Format Requirement: Inspection tools verify that both HTML and plain-text versions exist for maximum email client compatibility.

[!NOTE] Slug Immutable: Don’t change slug of system templates.

[!NOTE] Plain Text Required: Some clients don’t support HTML.

[!WARNING] Test Templates: Verify rendering in different clients.

  1. Both Formats: Always provide HTML + plain text
  2. Inline CSS: External styles don’t work in email
  3. Test Widely: Check Gmail, Outlook, Apple Mail
  4. Keep Simple: Complex layouts may break
  5. Use Variables: Make content dynamic
Client HTML Support Notes
Gmail Good Strips some CSS
Outlook Limited Use tables
Apple Mail Good Full support
Mobile Variable Keep simple

Symptom Possible Cause Solution
Variables not replaced Wrong syntax Use {{variable}}
HTML broken External CSS Use inline styles
Email not sent Template inactive Enable template
Blank email Missing content Add HTML content
  1. Edit template
  2. Save changes
  3. Trigger notification event
  4. Check recipient inbox
  5. Verify formatting
SELECT
name,
slug,
subject,
is_active,
html_content
FROM public.email_templates
WHERE slug = 'new-voicemail';

Term Definition
Template Reusable email layout
Slug Unique identifier
Variable Dynamic placeholder
HTML Content Rich text version
Plain Text Fallback text
Override Replace default

Documentation last updated: January 2026