Email branding

The Email Branding module wraps MemberMode’s transactional emails (welcome, email verification, password reset, admin approval, login notifications) in a single branded HTML template. Members get a consistent, professional-looking email from your site instead of the generic WordPress plain text default.

Make sure it’s on

MemberMode → Modules → Email Branding. The card should be enabled (it’s on by default for new installs).

What it uses

The template pulls two values from your global brand settings (set during the setup wizard, editable any time at MemberMode → Settings → Branding):

  • Logo URL — shown at the top of every email. PNG/SVG, ideally 200–400 px wide.
  • Primary colour — applied to buttons, links, and the accent bar.

If you haven’t set a logo, the template falls back to your site title in plain text. If you haven’t set a primary colour, it defaults to #111111 (near-black) so the email still looks intentional.

From-name and from-address

By default, MemberMode sends as <your site title> <admin_email>. To override:

add_filter( 'membermode_email_from_name', function () {
    return 'Acme Community';
} );

add_filter( 'membermode_email_from_address', function () {
    return 'hello@acme.test';
} );

These filters affect every transactional email the plugin sends. Set them in your theme’s functions.php or a small mu-plugin.

Merge tags

Templates use {{ tag }} placeholders that the Mailer fills in at send time. Built-in tags:

  • {{ site_name }}
  • {{ site_url }}
  • {{ logo_url }}
  • {{ primary_color }}
  • {{ user_name }}, {{ user_email }} (when emailing a specific user)
  • {{ action_url }} (the call-to-action button URL — varies by email type)
  • {{ recovery_codes }} (in 2FA enrolment emails)

To add your own tag, hook the membermode_email_merge_tags filter:

add_filter( 'membermode_email_merge_tags', function ( $tags ) {
    $tags['support_email'] = 'support@acme.test';
    return $tags;
} );

Then use {{ support_email }} anywhere in your override template.

Customising the template

The default template lives inside the plugin and is intentionally minimal — header (logo or site title) + body + footer. To override it:

  1. Copy membermode/templates/email/branded.php into your theme at wp-content/themes/<your-theme>/membermode/email/branded.php.
  2. Edit it freely. The merge tags above will work.

Pro

Free covers one branded template applied to every transactional email. MemberMode Pro adds a drag-drop email designer, multiple per-email templates, an email log, an SMTP setup wizard, and a managed delivery relay.