Email Notifications
Email Notifications
Email Notifications addon automates your membership communication by sending smart, timely emails to your customers.
Welcome new members, remind them about expiring memberships, and alert them when their download quota is running low β all automatically!
What It Does
Welcome Emails
Automatically sent when a customer completes a membership purchase.
Expiration Alerts
Remind customers before their membership expires (e.g., 7, 3, 1 days before).
Quota Warnings
Alert customers when they’ve used 80%+ of their download quota.
Fully Customizable
Edit email subjects, messages, thresholds, and timing from admin panel.
Smart Variables
Use dynamic variables like {customer_name}, {product_name}, {expiry_date}.
No Duplicates
Each email is sent only once per customer per membership.
Three Types of Automated Emails
1. π Welcome Email
When it’s sent: Immediately after a customer completes their membership purchase (WooCommerce order status: completed).
What it includes:
- Personalized greeting with customer name
- Membership product name
- Order number
- Expiration date (for duration-based) or quota (for downloads-based)
- Link to start downloading
Subject: Welcome to your membership!Hi {customer_name},
Thank you for purchasing {product_name}!
Your membership is now active.
Order: #{order_id}
Expires: {expiry_date}
Downloads: {quota}
Start exploring now!

2. β° Expiration Alerts
When it’s sent: X days before membership expires (configurable: default is 7, 3, and 1 day before).
What it includes:
- Days remaining until expiration
- Exact expiration date
- Product name and order number
- Call to action to renew
Subject: Your membership expires in {days_left} daysHi {customer_name},
Your {product_name} membership expires soon!
Days remaining: {days_left}
Expiration date: {expiry_date}
Order: #{order_id}
Renew now to keep access!
β οΈ Multiple AlertsIf you configure “7,3,1” days, the customer will receive 3 separate emails: one at 7 days before, one at 3 days before, and one at 1 day before expiration.

3. π Quota Alerts
When it’s sent: When customer reaches X% of their download quota (default: 80%).
What it includes:
- Current quota usage
- Total quota available
- Downloads remaining
- Percentage used
Subject: Your download quota is running lowHi {customer_name},
You’ve used {quota_percent}% of your downloads!
Used: {quota_used} / {quota_total}
Remaining: {quota_remaining}
Order: #{order_id}
Plan your downloads accordingly.
β Sent OnceEach customer receives this alert only ONCE per membership, even if they stay above the threshold.

Dynamic Variables
Use these variables in your email subjects and messages. They’ll be automatically replaced with actual data:
| Variable | Description | Available In |
|---|---|---|
{customer_name} |
Customer’s full name | All emails |
{product_name} |
Membership product name | All emails |
{order_id} |
WooCommerce order number | All emails |
{expiry_date} |
Membership expiration date | Welcome, Expiration |
{days_left} |
Days remaining until expiration | Expiration |
{quota} |
Total download quota | Welcome, Quota |
{quota_used} |
Downloads already used | Quota |
{quota_total} |
Total downloads available | Quota |
{quota_remaining} |
Downloads still available | Quota |
{quota_percent} |
Percentage of quota used | Quota |
π NoteDo NOT translate these variables! They must stay exactly as shown (including the curly braces {}) to work properly.
Installation & Setup
- Upload & ActivateInstall and activate the “Email Notifications Addon” from WordPress admin
- Access SettingsGo to Download Box Pro β Email Notifications
- Configure Each Email TypeEnable/disable, customize subjects and messages, set thresholds
- Save SettingsClick “Save Settings” β your emails are now automated!

How It Works (Technical)
π§ Welcome Emails
Triggered by the woocommerce_order_status_completed hook. Sent immediately when an order is marked as completed.
β° Expiration & Quota Alerts
Run via WordPress Cron (daily automatic check):
Frequency: Once per day (automatically)
Next check: Displayed in admin panel
π§ͺ Manual Testing
Don’t want to wait 24 hours to test? Use the “Run Manual Check Now” button in the admin panel!

β Test ResultsAfter running a manual check, you’ll see: “X email(s) sent” or “No emails to send” plus “Next automatic check: In X hours”
Anti-Duplicate System
Each email is logged to prevent sending duplicates. For example:
- Welcome email: Sent once per order
- Expiration alert for 7 days: Sent once (won’t resend if customer is checked again)
- Quota alert at 80%: Sent once per membership
π How It’s TrackedThe addon stores a unique key for each email sent (e.g., “order_123_product_456_welcome”). This ensures emails are never duplicated.
Customization Options
| Setting | Options |
|---|---|
| Welcome Email | Enable/Disable, Custom Subject, Custom Message |
| Expiration Days | Comma-separated (e.g., “7,3,1” or “14,7,3,1”) |
| Quota Threshold | Percentage (e.g., 80, 90, 75) |
| Email Format | Plain text (HTML support coming soon) |

Translation Ready
All interface text and default email messages can be translated using:
- Loco Translate (recommended)
- Poedit
- Manual .po/.mo files
Text Domain: dbp-addon-email-notifications
Perfect For
Online Courses
Remind students before access expires, alert when running low on course downloads.
Software Licenses
Welcome new users, warn before license expiration, encourage renewals.
Digital Assets
Alert designers when download quota is low, remind about membership renewal.
Content Libraries
Keep subscribers engaged with timely reminders and usage alerts.
β Set It and Forget It!Once configured, Email Notifications runs completely automatically. Your customers stay informed, and you save hours of manual communication!

No Comments