=== Jadav Mail Activity Logger ===
Contributors: jadavsanjay
Tags: email log, mail log, email tracking, email analytics, csv export
Requires at least: 5.6
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Log outgoing WordPress emails, optionally track HTML email opens, and export recent email activity as CSV.

== Description ==

Jadav Mail Activity Logger records outgoing emails sent through WordPress and shows recent email activity in the admin dashboard.

The plugin is designed for site owners who need a simple local record of outgoing email activity. Open tracking is optional and disabled by default. If enabled, the plugin adds a small tracking pixel to HTML emails and records when that pixel loads.

= Features =

* Log outgoing WordPress emails
* Mark emails as sent or failed
* Optional HTML email open tracking
* Hashed IP storage for open events
* Recent email activity dashboard
* CSV export for recent email logs
* Daily cleanup based on retention days
* No external service required

== Installation ==

1. Upload the plugin files to `/wp-content/plugins/jadav-mail-activity-logger/` or install the ZIP through WordPress admin.
2. Activate the plugin through the Plugins screen.
3. Go to Mail Activity in the WordPress admin menu.
4. Review settings and enable open tracking only if your privacy policy allows it.

== Frequently Asked Questions ==

= Does the plugin send data to an external service? =

No. Logs stay in your WordPress database.

= Is open tracking enabled by default? =

No. Open tracking is disabled by default. You can enable it from the settings page.

= How does open tracking work? =

When enabled, the plugin adds a small image pixel to HTML emails. When the email client loads that image, the plugin records an open event.

= Does open tracking work for plain text emails? =

No. The plugin only adds the tracking pixel to HTML emails.

= What is the extra feature in this plugin? =

The plugin includes CSV export for recent email activity and retention cleanup settings.

= What should I include in my privacy policy? =

If you enable open tracking, disclose that email open activity may be logged. The plugin stores recipient email, subject, status, timestamps, open count, user agent, and a hashed IP value for open events.

== Changelog ==

= 1.0.0 =
* Initial release.
* Added outgoing email logging.
* Added optional open tracking.
* Added CSV export.
* Added retention cleanup.

== Privacy ==

This plugin stores email activity locally in the WordPress database. Open tracking is disabled by default. When enabled, it records open timestamps, open count, user agent, and a hashed IP address.
