Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Opensolr Search 4.5.0 Minor update available for module opensolr_search (4.5.0). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

User Email Preview

3 sites Security covered Drupal 10–11
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

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Dec 2025
Latest release
1 month ago
Releases (12 mo)
3 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.0.2 Stable 10–11 Jul 15, 2026
1.0.1 Stable 10–11 Jul 15, 2026
1.0.0 Stable 10–11 Dec 5, 2025