This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Better Emails


All emails from WordPress (lost password, notifications, etc.) are sent by default in text/plain format. WP Better
Emails wraps them with a much better looking customizable HTML email template and lets you also set your own sender name and email address.

  • WP Better Emails comes with a default simple and clean template that has been tested on various and popular email clients
    like Gmail, Yahoo Mail, Hotmail/Live, AOL, Outlook, Apple Mail and many more. This to ensure your emails will always display
    nicely in your recipient mailbox. But you can of course design your own.
  • WP Better Emails lets you send sample emails to test and preview your own custom HTML email template.
  • Watch your HTML email template during editing with the live preview.
  • Fancy HTML editor with CodeMirror syntax highlighting.
  • Supports WpMandrill plugin
  • All emails sent by this plugin are sent as ‘multipart’ so that email clients that don’t support HTML can read them.
  • Include some dynamic tags in your template such as your blog URL, home URL, blog name, blog description, admin email or date and time. They will all be
    replaced when sending the email.
  • Add your own tags with WordPress filters (see FAQ for usage).
  • The default template is included as an HTML file in the plugin folder, feel free to edit it with your favorite editor.
  • Clean uninstall process, doesn’t leave some useless data in your database when deleted, you can easily give it a try !

Example usages :

  • Brand your emails to your website or client website
  • Add some ads/sponsored links to every email sent with wordpress
  • Include some banners to promote a special event or feature of your website


WP Better Emails is currently available in :

I’m looking for translators to extend to other languages. If you have translated the plugin in your language or want to,
please let me know : wpbetteremails [ at ]


This plugin is free and developed on my spare time. Please consider reading the FAQ and the support guide before posting new topics. Many of them have already been resolved.


WP Better Emails is also available on GitHub.


CodeMirror library


  • The default template provided with WP Better Emails. Tested on many email clients like Gmail, Yahoo!, Live/Hotmail, etc.
  • WP Better Emails settings screen with the default WP TinyMCE editor.
  • Editor in source mode using CodeMirror syntax highlighting.
  • Live preview your template in a thickbox.
  • Help tab with information about available tags.


  1. Extract and upload the wp-better-emails folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in the WordPress admin panel
  3. (Optional) Set a sender email and name, if none, wordpress defaults will be used : ‘’ and ‘Your Blog Title’
  4. (Optional) Edit your own email template. See the screenshot tab to have a look at the default template
  5. Every email going out from your WordPress Blog (notifications, lost password, etc.) looks better now !


What if recipient can’t read HTML emails ?

WP Better Emails sends all emails in both formats (‘multipart’, i.e. HTML and plain text) so that emails can be displayed in every email client.

Why are the emails still sent in plain text format ?

Be sure to include the %content% tag in your template. WP Better Emails wrap the content with the template, if no tag
is found, sending HTML emails is automatically desactivated.

How does WP Better Emails interact with others plugins ?

WP Better Emails wraps every “text/plain” email sent with the WordPress function wp_mail().

I totally messed up with the template, how can I get the original one ?

Just delete and reinstall the plugin from the admin panel.

I’m using SB Welcome Editor and emails have no template

WP Better Emails only wraps “text/plain” emails. By default, SB Welcome Editor sends email as HTML, with no style but as “text/html”. Be sure to set the SB Welcome Editor format option to “text”.

How can I add my own tags ?

You can filter the tags array and add your replacements. Let’s say you want to randomly display some sponsored links somewhere in your email template:

add_filter('wpbe_tags', 'add_my_tags');
function add_my_tags( $tags ) {
    $ads = array('<a href="#">Sponsored link 1</a>', '<a href="#">Sponsored link 2</a>', '<a href="#">Sponsored link 3</a>');
    $tags['sponsored_link'] = $ads[array_rand($ads, 1)];
    return $tags;

The key of the array sponsored_link will be a new tag (%sponsored_link%) you can include. It will be randomly replaced with one of your sponsored links.

The example above is taking sponsored links as an additinonal content but you can imagine anything like including lastest posts, a quote of the day or whatever.
You can place this function in your functions.php theme file or in a plugin.

Do you provide hooks to alter some WP Better Emails behaviors?

  • wpbe_html_body (filter) will let you apply your own logic on HTML emails
  • wpbe_plaintext_body (filter) will let you apply your own logic on plain text emails
  • wpbe_convert_line_breaks (filter) will let remove line breaks conversion
  • wpbe_convert_urls (filter) will let you remove links conversion


Dec 7, 2019
Ne fonctionne pas correctement Customisation quasi inexistante.
Jan 8, 2019
I love this plugin very much, I'm using this 4 years now. I recommend this to those who want a customized and better email notification in Wordpress.
Aug 15, 2018
But missing one feature: I want to set it up in a multisite once, for all blogs. Admins of (sub) blogs should not be able to edit the template. So I need a general multisite plugin interface, where I can decide wether I want to use this setting over all blogs or if every blog can set it up for themselves.
Oct 5, 2017
This plugin didn't worked at all with my setting. I'm using Mailgun Plugin, don't know if that's what is causing the issue. Only send text message with not any of the templates set on the Plugin Settings... no matter how many times you save the template, it is totally ignored.

Contributors & Developers

“WP Better Emails” is open source software. The following people have contributed to this plugin.


“WP Better Emails” has been translated into 8 locales. Thank you to the translators for their contributions.

Translate “WP Better Emails” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log


  • Fix deprecation notices
  • Fix TinyMCE plugins
  • Remove live preview


  • Add proper multisite support: options are saved network wide
  • Remove strip_tags from message as it deletes password retrieve link from lost password email (see:
  • Improve from name and email, they are only set when default email is used
  • Fix help tab link
  • Add new filters to control converting line breaks to br tags and URls to links


  • Added translation: Vietnamese
  • Fixed bug in plain text email. See:


  • Added translation: Slovenian
  • Fixed bug in Dutch translation. See:
  • Added support for WpMandrill. See:

  • Added translation: Dutch

  • Fixed editor (WordPress 3.9 compatibility issue)
  • Added translation: Swedish

  • Fixed live preview feature

  • Added translation: Spanish

  • Added translation: Indonesian
  • Fixed translation: Arabic, Farsi

  • New translation: Farsi
  • New translation: Russian
  • Updated transaltion: German


  • Fixed options not recording on activation


  • Added plain text template support
  • Fixed phpmailer_init action
  • Added Brazilian portuguese translation

  • Lower HTML filter priority to make the plugin more compatible with other plugins (Woocommerce, etc.)
  • Simplified Chinese, Italian, Arabic translations added


  • Fixed TinyMCE role issue


  • Fixed 3.3 beta compatilibity
  • Fixed 3.3 help panel trigger


  • Added 3.3 compatibility
  • Added Turkish translation


  • Editor role bug fix
  • Template centering fix


  • WP TinyMCE editor support
  • HTML editor with CodeMirror as a TinyMCE plugin
  • Live preview (> WP 3.1)
  • Include filter to add your own tag replacements
  • Help moved to contextual help
  • Added translations for german, hebrew
  • Improved template email clients support


  • Sender email and name are now optional
  • Fixes replacing URLs of plain text content to handle https protocol


  • Added 3.1 compatibility
  • Dutch translation


  • Added French translation


  • WP Better Emails first release