Webpenter Email Log Guru
WP Email Log Guru is a powerful WordPress plugin that automatically logs all outgoing emails sent from your website. It helps website owners, developers, and administrators monitor email activity, troubleshoot delivery issues, and keep a complete record of sent emails. Features include: • Automatic logging of all outgoing emails.
by Webpenter · github.com/zaars59208/wp-email-log-guru · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/zaars59208/wp-email-log-guru/archive/refs/heads/main.zipReadme
Email Log Guru — WordPress Email Logging & Tracking Plugin
Know every email your WordPress site sends. Or fails to send.
Email Log Guru captures, logs, and tracks every outgoing email from your WordPress site — delivery status, open rates, click tracking, failure alerts, and a complete analytics dashboard — all without touching your SMTP setup.

Overview
Most logging plugins record only the subject line. Email Log Guru captures the entire message — so you can debug delivery failures, replay lost emails, and maintain a full audit trail without any external service or SMTP changes.
- ⚡ Zero-config setup — works out of the box
- 🔒 No external APIs or SaaS dependencies — runs 100% on your server
- 🛡 GPL-2.0 licensed
- 🌍 Fully translatable (i18n ready)
Features
📧 Complete Email Logging
Intercepts every wp_mail() call and captures the full payload — HTML body, plain text, headers, CC, BCC, Reply-To, attachments, sender, and all recipients.
👁 Open & Click Tracking
Injects a secure HMAC-signed 1×1 pixel into HTML emails and wraps every link with a click tracker. See exactly who opened each message and which links they clicked.
📊 Analytics Dashboard
Today, 7-day, and 30-day stats for sent, failed, resent, opens, and clicks — with open rate, click rate, and failure rate computed automatically.
🔁 One-Click Resend
Resend any logged email directly from the admin panel without re-triggering the originating flow. Every resend is logged for a complete audit trail.
🚨 Instant Failure Alerts
Get notified by email the moment delivery fails. Configure a failure threshold and time window to prevent alert fatigue — the plugin de-duplicates intelligently.
🔗 Webhook on Failure
Fire an HMAC-SHA256-signed webhook to any endpoint when email delivery fails — integrate with Slack, PagerDuty, Zapier, or any monitoring pipeline you already use.
📤 Email Forwarding
Automatically forward every outgoing email to additional To, CC, or BCC addresses. Perfect for staging audits, compliance requirements, or team monitoring.
🕵️ Source Plugin Detection
Traces the exact WordPress plugin and hook that triggered each email using PHP backtrace. Immediately identify whether WooCommerce, CF7, or any other plugin is the sender.
📅 Daily Digest
An automated daily summary email lands in your inbox at 08:00 every morning — yesterday's sent, failed, opens, and clicks — so you stay informed without logging in.
🛡 Role-Based Access Control
Assign log viewing rights to specific WordPress roles via the custom welg_view_logs capability. Destructive actions like bulk delete remain gated behind manage_options.
🗂 Smart Retention & Auto-Purge
Configure a day-based retention period and a maximum entry count. A daily cron job keeps your database trim without manual intervention.
⛔ Granular Exclusion Filters
Skip logging specific recipients, subject keywords, or entire source plugins. Store only the emails that matter to your workflow.
What Gets Captured Per Email
| Field | Details |
|---|---|
| Body | Full HTML body + plain text alternative |
| Headers | From, CC, BCC, Reply-To (all raw headers) |
| Attachments | Filenames and file sizes |
| Source | Plugin name and WordPress hook identified via PHP backtrace |
| Context | Trigger page URL, User ID, IP address (optional) |
| Metadata | PHPMailer Message-ID, mailer type |
| Status | Real-time update: sending → sent or failed |
Analytics
The built-in dashboard surfaces these metrics — no third-party service required:
- Today, 7-day, and 30-day breakdowns for sent & failed
- Open rate and click rate across all tracked HTML emails
- Failure rate to catch SMTP issues early
- Top 10 recipients and most frequently sent subjects
- Per-plugin email breakdown to identify heavy senders
- Hourly distribution heatmap to reveal sending patterns
- 7-day and 30-day chart data for trend analysis
- All-time cumulative totals
Settings
30+ configurable options across 8 focused tabs:
| Tab | What you control |
|---|---|
| ⚙ General | Master on/off switch, items per page, date format, SMTP test tool |
| 📝 Logging | What to capture, which fields to store |
| 👁 Tracking | Open pixel & click tracker behaviour |
| 🔔 Notifications | Failure alerts, threshold, de-duplication window |
| 📤 Forwarding | Auto-forward To/CC/BCC addresses |
| ⛔ Exclusions | Skip recipients, subjects, or source plugins |
| 🗂 Retention | Retention period, max entries, auto-purge cron |
| 🔧 Advanced | Role capabilities, AJAX security, advanced options |
Technical Architecture
| Component | Detail |
|---|---|
| Email interception | wp_mail filter — zero-config |
| Tracking security | HMAC-SHA256 signed links & pixels |
| Database | 2 custom tables — logs + tracking events |
| Background jobs | WP-Cron for purge & daily digest |
| Security | Nonce + capability checks on all AJAX |
| Compatibility | WordPress 5.6+, PHP 7.4+ |
| i18n | Fully translatable |
Requirements
- WordPress 5.6 or higher
- PHP 7.4 or higher
- No external services required
Installation
- Download the plugin
.zipfile - Go to WordPress Admin → Plugins → Add New → Upload Plugin
- Upload the
.zipand click Install Now - Activate the plugin
- Navigate to Email Log Guru in your admin menu — no configuration needed to start logging
Pricing
| Plan | Price | Details |
|---|---|---|
| Early Adopter | Free | First 100 customers only — all features, lifetime license |
| Standard | $9.99 | One-time payment, lifetime license, all future updates included |
No tiers, no upsells, no monthly plans.
👉 Claim your license at webpenter.com
About
Built by Webpenter — a software & training company based in Rahim Yar Khan, Punjab, Pakistan.
- 🌐 webpenter.com
- 🐙 GitHub
License
This plugin is licensed under the GPL-2.0 License.