SendLog – Email Activity Log

Description

SendLog is a comprehensive email activity logging plugin for WordPress that captures every outgoing email sent by your site. Whether you need to debug delivery issues, audit communication, or monitor email health — this plugin does it all, completely free.

Core Features

  • Complete Email Logging — Captures To, Subject, Message, Headers (From, CC, BCC, Reply-To), Attachments, IP address, timestamp, delivery status, error messages, and source plugin/theme.
  • Trash & Restore — Move logs to trash before permanently deleting, just like WordPress posts. Includes empty trash and restore functionality.
  • Resend Emails — Resend any logged email with one click, or edit before resending.
  • Forward Emails — Automatically forward copies of all outgoing emails to specified addresses with exclusion patterns.
  • Export Logs — Export selected or all logs as CSV with customizable column selection.
  • Auto-Delete — Automatically clean up old logs via daily WP-Cron with configurable retention.
  • Email Monitor — Daily heartbeat test email with admin notice if delivery fails.
  • Webhook Notifications — Get notified when emails are sent or fail via Slack, Discord, Microsoft Teams, or any generic webhook URL. Configurable triggers (All Emails / Failed Only) and optional forwarded email inclusion.
  • REST API — Full REST API with endpoints for logs, stats, and resend functionality.
  • Dashboard Widget — At-a-glance email stats on the WordPress dashboard.
  • Multisite Support — Per-site log tables with network activation support.
  • HTML Test Email — Send a beautifully formatted HTML test email to verify delivery and test the log viewer.

Admin Interface

  • Modern List Table — Sortable, filterable email logs with all columns (Sent at, Status, To, Subject, From, CC, BCC, Reply To, Attachment, IP Address, Source) — all toggleable via Screen Options.
  • Screen Options — Toggleable columns and configurable entries per page.
  • Email Detail Modal — View full email content with HTML/Text tab toggle, delivery details, and headers.
  • Tools Dashboard — Statistics overview with cards showing Total, Sent, Failed, Forwarded, Today, and Active Webhooks counts.
  • Tabbed Settings — Clean, organized settings with info tooltips explaining each option.
  • Date Picker — jQuery UI datepicker with clean custom styling for date-based search and filtering.

Use Cases

  • Debug email delivery issues
  • Audit emails sent by plugins (WooCommerce, Contact Form 7, Gravity Forms, etc.)
  • Monitor transactional email health
  • Keep records for compliance
  • Resend failed or lost emails
  • Get instant alerts via Slack/Discord/Teams when emails fail
  • Forward all site emails to an archive mailbox

External Services

This plugin can optionally connect to external webhook services to send notifications when emails are sent or fail. This feature is disabled by default and must be explicitly configured by the site administrator.

Webhook Notifications (optional, user-configured)

When you enable webhook notifications in Settings > Webhooks, the plugin sends HTTP POST requests to the webhook URL(s) you provide. The data sent includes: email subject, recipient, status (sent/failed), error message (if failed), and timestamp.

Supported services:

No data is sent to any external service unless you explicitly configure a webhook URL and enable it. No analytics, telemetry, tracking, or other external calls are made by this plugin.

Screenshots

Installation

  1. Upload the sendlog folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Navigate to Email Logs in the admin sidebar to view logged emails
  4. Configure settings under Email Logs > Settings

FAQ

Does this plugin modify my emails?

No. The plugin only observes and logs emails as they are sent. It does not modify any email content or headers unless you use the forwarding feature.

Will this slow down my site?

No. The logging operation is lightweight and occurs within the normal wp_mail flow. Log queries are optimized with database indexes.

Does this plugin make external connections?

Only if you configure webhook notifications. In that case, the plugin sends HTTP requests to the webhook URLs you specify (Slack, Discord, Teams, or custom URLs). No analytics, telemetry, or other external calls are made.

Can I use this on a multisite network?

Yes. The plugin supports network activation and creates separate log tables for each site.

What happens to my logs if I delete the plugin?

By default, all data is preserved. If you want data removed on deletion, enable the “Remove all data when plugin is deleted” option in Settings > General.

Is the REST API secure?

Yes. All REST API endpoints require the manage_sendlog capability and WordPress authentication (nonce or Application Passwords).

What is the Trash feature?

Just like WordPress posts, deleted logs first move to Trash. You can restore them or permanently delete from the Trash view. Use “Empty Trash” to permanently remove all trashed entries at once.

Can I control which emails trigger webhooks?

Yes. Each webhook can be set to trigger on “All Emails” or “Failed Only”. You can also enable/disable sending notifications for forwarded emails per webhook.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“SendLog – Email Activity Log” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release
  • Complete email logging (To, From, Subject, Body, Headers, Attachments, IP, Source, Status)
  • WP_List_Table with sorting, filtering, search, bulk actions, and screen options
  • All columns toggleable via Screen Options (Sent at, Status, To, Subject, From, CC, BCC, Reply To, Attachment, IP Address, Source)
  • View filters: All, Sent, Failed, Forwarded, Trash
  • Trash & Restore functionality (move to trash, restore, empty trash, permanent delete)
  • Log detail modal with HTML/Text tab toggle
  • Resend emails with edit-before-resend capability
  • Email forwarding with configurable method (To/CC/BCC) and exclusion patterns
  • CSV export (selected or all, with date range)
  • Auto-delete with WP-Cron (configurable retention, keep-failed option)
  • Email monitor with daily heartbeat and failure notices
  • HTML test email with full delivery details and server environment info
  • Webhook notifications (Slack, Discord, Teams, Generic) with configurable triggers and retry
  • REST API (GET /logs, GET /logs/{id}, DELETE /logs/{id}, POST /logs/{id}/resend, GET /stats)
  • Dashboard widget with stats summary
  • Tools page with statistics cards, test email, export all, system info
  • Multisite support (per-site tables, network activation)
  • Custom capability manage_sendlog with configurable role access
  • Delete confirmation dialogs for single and bulk actions
  • jQuery UI datepicker with custom local styling
  • Info tooltips on all settings labels
  • Full WordPress.org Plugin Check compliance