Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

User Email Preview

1 sites Security covered
View on drupal.org

This module adds a live preview for user-related email templates on the account settings page. It shows administrators exactly how emails will look with dynamic placeholders replaced by real values, helping them create and refine email content before saving.

A Drupal module that adds live preview functionality to user email templates on the Account Settings page. This allows
administrators to see exactly how user-related emails will look before saving changes.

The module does not work with email templates in other areas of Drupal (such as Webform emails, Commerce emails, or custom notification systems).

Key Features

  • Live Preview: See your email exactly as users will receive it
  • Token Replacement: Dynamic placeholders like [user:display-name] are replaced with real values
  • Email Header Display: Shows Subject, From, and To fields just like a real email
  • No Configuration Required: Simply install and enable the module

How to Use

  1. Navigate to Configuration > People > Account settings (/admin/config/people/accounts)
  2. Scroll down to the Emails section
  3. Expand any email template (e.g., "Welcome (new user created by administrator)")
  4. You will see two tabs above each email template:
    • Template: The default view where you edit your email content
    • Preview: Click this tab to see how the email will look

Using the Preview

  1. Make changes to your email subject or body in the Template tab
  2. Click the Preview tab to see your changes rendered
  3. The preview shows:
    • Subject: Your email subject line with tokens replaced
    • From: Your site name and email address
    • To: The recipient's email address (uses your account for the preview)
    • Body: The full email content with all tokens replaced
  4. Switch back to Template to make more changes
  5. Click Save configuration when you're satisfied with your email

This module was built with AI assistance

Activity

Total releases
3
First release
Dec 2025
Latest release
2 days ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Release date
1.0.2 Stable Jul 15, 2026
1.0.1 Stable Jul 15, 2026
1.0.0 Stable Dec 5, 2025