Skip to main content

Email notifications

How email notifications work?

Instead of standard notification on each new message, Better Messages plugin will group messages by thread and send it within next 15 minutes with cron job.

  • User will not receive email notifications, if they are disabled in user settings.
  • User will not receive email notifications for already read messages.
  • User will not receive email notifications, if he was online at website last 10 minutes.

Email Template Customization

Better Messages allows you to customize the appearance of email notifications sent to users.

Template Source (BuddyPress sites only)

If you have BuddyPress installed, you can choose between two template sources:

  • BuddyPress Email Template - Uses your existing BuddyPress email customizations. This is the default option for BuddyPress sites.
  • Custom Template - Use the simple or custom HTML template options described below.

Template Mode

When using custom templates (or on non-BuddyPress sites), you can choose between two modes:

Simple Mode

Simple mode allows you to customize the email appearance without writing any code:

  • Email Logo - Upload a logo image (recommended size: 200x50 pixels) to display at the top of emails.
  • Primary Color - Used for buttons and links.
  • Background Color - Email outer background color.
  • Content Background Color - Main content area background color.
  • Text Color - Color of the email text.
  • Header Text - Custom greeting text. Use ‎{{user_name}} placeholder for the recipient's name. Leave empty for default "Hi ‎{{user_name}},".
  • Footer Text - Custom footer text. Use ‎{{site_name}} and ‎{{site_url}} placeholders.
  • Button Text - Text for the "View Conversation" button.

Custom HTML Mode

For full control over email appearance, you can create a custom HTML template. Available placeholders:

PlaceholderDescription
‎{{site_name}}Your website name
‎{{site_url}}Your website URL
‎{{user_name}}Recipient's display name
‎{{subject}}Conversation subject
‎{{messages_html}}Formatted messages content
‎{{thread_url}}Link to the conversation
‎{{email_subject}}Email subject line
‎{{unsubscribe_url}}Unsubscribe link URL

Click "Load Default Template" to start with the default template structure and customize it.

You can optionally add an unsubscribe link to message notification emails. When enabled, users can click the link to stop receiving message email notifications.

This setting is only available when using custom templates (not BuddyPress email templates, which have their own unsubscribe mechanism).

Test Email

Use the "Send Test Email" feature to preview how your email template looks. Enter an email address and click "Send Test Email" to receive a sample notification.

tip

Save your settings before sending a test email to ensure all changes are applied.