Communication

Email Module

Learn how to configure and use the Email Module.

Video Guide

Overview

The Email Module is your built-in email marketing tool. Instead of installing a separate plugin, you can send targeted emails directly from your WordPress admin — by user role, specific user IDs, or your entire user base.

Every email is wrapped in your branded template automatically, with support for personalization placeholders so each recipient gets a message that feels written for them.

💡
This module works best when combined with the SMTP Configuration module. SMTP ensures your emails actually reach inboxes instead of going to spam.

Requirements

  • WordPress 5.8 or higher
  • PHP 7.4 or higher
  • Ofast Toolkit plugin activated
  • Email module toggled ON in the dashboard

Setup

Follow these steps to get the Email module working on your site:

1

Enable the module

Go to Ofast Toolkit → Dashboard and toggle the Email Module to ON.

2

Go to Emailer

Navigate to Ofast Toolkit → Emailer in your WordPress admin menu.

3

Set up your email template

Click the Templates tab. Add your logo, brand colors, company name, and social links.

4

Send a test email

Go to the Send Email tab, compose a message, check "Send to me as test only", and hit Send.

Settings

All email template settings are managed under the Templates tab.

Setting Description Default
Template Style Visual style of the email wrapper. Choose Modern, Classic, Minimal, or Custom HTML. Modern
Primary Color Header background and button color. #6366f1
Company Name Shown in the email header and footer. Your site name
Logo URL Upload or paste your logo URL. Shown in email header.
From Name The sender name recipients will see in their inbox. Your site name
Reply-To Email address replies will be sent to. Admin email
Apply Template To Choose which emails use the template: Ofast Emailer, WordPress notifications, WooCommerce emails, or all. Emailer only

How it works

When you send an email through the Emailer, here is what happens behind the scenes:

  • You select recipients by role, user ID range, or manual selection from the user table.
  • The plugin fetches the matching users from your WordPress database.
  • Placeholders like {{user_first_name}} are replaced with each user's real data.
  • The message is wrapped in your branded email template.
  • Emails are sent using wp_mail() — which routes through SMTP if configured.
  • A log entry is recorded in Email History with subject, recipient count, and status.
⚠️
Sending to more than 500 users at once on shared hosting may cause timeouts. For large lists, use a dedicated SMTP provider like SendGrid or Mailgun which have built-in delivery queues.

Available Placeholders

Use these in your subject line or message body to personalize each email:

Placeholders
{{user_id}}             → User's WordPress ID
{{username}}           → Login username
{{user_display_name}}  → Display name
{{user_first_name}}    → First name
{{user_last_name}}     → Last name
{{user_email}}         → Email address

FAQ

My emails are going to spam. What should I do?

Set up the SMTP Configuration module with a dedicated email provider (SendGrid, Mailgun, Zoho). Also check your domain's SPF, DKIM, and DMARC records using the DNS checker inside the SMTP module.

Can I schedule emails to send later?

Yes. In the Send Email tab, set a date and time in the Schedule field before sending. The email will be queued and sent at that time via WordPress cron.

How do I preview an email before sending?

Click the Preview Email button in the Send Email tab. A modal will open showing exactly how the email will look in desktop and mobile view.

Where can I see emails I have already sent?

Go to Emailer → History. Each entry shows the subject, date sent, number of recipients, status, and a preview of the email body.