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.
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:
Enable the module
Go to Ofast Toolkit → Dashboard and toggle the Email Module to ON.
Go to Emailer
Navigate to Ofast Toolkit → Emailer in your WordPress admin menu.
Set up your email template
Click the Templates tab. Add your logo, brand colors, company name, and social links.
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.
Available Placeholders
Use these in your subject line or message body to personalize each email:
{{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
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.
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.
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.
Go to Emailer → History. Each entry shows the subject, date sent, number of recipients, status, and a preview of the email body.
Ofast