=== eMail Logs Log every outgoing emails from WordPress ===
Contributors: huzoorbakhsh
Tags: email, email log, smtp, wp_mail, logging
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Fast, free, full-featured email logging for WordPress. Logs every wp_mail() call with zero configuration.

== Description ==

eMail Logs logs every email sent through `wp_mail()` — WordPress core, WooCommerce, Contact Form 7, WPForms, Gravity Forms, Fluent Forms, and any other plugin that uses the standard mailing API — into a dedicated, indexed database table (never `wp_posts`), so it stays fast even at hundreds of thousands or millions of logged emails.

= Features =

* Zero configuration — logging starts automatically on activation.
* Dedicated, indexed database table with a FULLTEXT search index.
* Fast, filterable, sortable admin log table with keyset (seek) pagination.
* Full email viewer: headers, HTML/plain text, attachments, SMTP response, source detection.
* Resend any logged email, with the option to edit recipients/subject/body first.
* CSV and JSON export, filtered or full.
* Automatic retention cleanup, configurable per site.
* REST API (`kaiizenml/v1`) and WP-CLI commands (`wp kaiizenml list|view|delete|cleanup|export`).
* No premium tier, no telemetry, no tracking, no ads, no upgrade nags.

= Free forever =

Every feature in Kaiizen Mail Log is available for free, with no artificial limits.

== Installation ==

1. Upload the `kaiizen-mail-log` folder to `/wp-content/plugins/`.
2. Activate the plugin through the "Plugins" screen in WordPress.
3. That's it — emails start logging immediately. Visit "Kaiizen Mail Log" in the admin menu to view them.

== Frequently Asked Questions ==

= Does this store logs in wp_posts? =

No. Kaiizen Mail Log uses its own dedicated table (`{prefix}kaiizenml_logs`) with purpose-built indexes, so it stays fast at high volume and never bloats your posts table.

= Is anything sent externally? =

No. Kaiizen Mail Log has no telemetry, tracking, or external requests of any kind.

== Changelog ==

= 1.0.0 =
* Initial release: capture pipeline, log table, dashboard, viewer, resend, CSV/JSON export, retention cleanup, REST API, WP-CLI commands.
