=== SaleGen Marketing Toolkit – CRM, Email Marketing, Forms & Popups ===
Contributors: wpsalegen
Author URI: https://wpsalegen.com/
Plugin URI: https://wpsalegen.com/plugins/
Donate link: https://wpsalegen.com/plugins/
Tags: contact form, email marketing, CRM, popup builder, marketing automation
Requires at least: 5.8
Tested up to: 6.9
Stable tag: 1.4.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Contact forms, CRM, email marketing, and popup builder for WordPress. All-in-one plugin to capture leads and run campaigns.

== Description ==

Welcome to **SaleGen Marketing Toolkit**!

Capture leads, manage contacts, and run email marketing — all inside WordPress.

**An all-in-one email marketing and marketing automation plugin for WordPress**.

Create forms, popups, manage contacts, and send email campaigns — all from one place, without relying on multiple plugins or external services.

Fast, flexible, and designed for real-world marketing workflows.

Learn more: [wpsalegen.com](https://wpsalegen.com/?utm_source=wordpress&utm_medium=readme&utm_campaign=all) 

== SaleGen Marketing Toolkit - Contacts, Forms, Popups, Email Campaigns ==
[youtube https://youtu.be/FSX08-rsRH0]

* [Contacts (CRM)](https://wpsalegen.com/plugins/contacts/?utm_source=wordpress&utm_medium=readme&utm_campaign=contacts)
* [Email Campaigns & Automations](https://wpsalegen.com/plugins/email-campaigns-automations/?utm_source=wordpress&utm_medium=readme&utm_campaign=eca)
* [Form Builder](https://wpsalegen.com/plugins/forms/?utm_source=wordpress&utm_medium=readme&utm_campaign=form_builder)
* [Popup Builder](https://wpsalegen.com/plugins/popups/?utm_source=wordpress&utm_medium=readme&utm_campaign=popup_builder)

### 🚀 What you can do

* Create contact forms, opt-in forms, and lead generation forms  
* Build popups with advanced triggers and targeting  
* Manage contacts in a built-in CRM with tags and custom fields  
* Send email campaigns and automation sequences  
* Use your own SMTP or IMAP mail server  
* Track submissions, events, and contact activity  

### 📦 Core modules

**Contacts (CRM)**  
Manage contacts with custom fields, tags, import/export, and activity history.

**Form Builder**  
Create contact forms, registration flows, and lead capture forms with validation, anti-spam, and tracking.

**Popup Builder**  
Build popups for lead generation, announcements, and offers using triggers like time, scroll, and exit intent.

**Email Campaigns & Automations**  
Send newsletters, create automation chains, and manage email workflows with reusable templates.

### ⚙️ Additional modules and tools

**Dashboard**  
Central control panel to manage modules, mail configs, and global settings.

**Files Manager**  
Manage uploaded files linked to contacts, forms, and submissions from one place.

**Mail Configs**  
Create reusable email configurations for different workflows.

### ✉️ Email and communication

* Custom SMTP configuration  
* Optional IMAP mailbox integration  
* Reusable mail configs  
* Queue-based email sending  
* Contact email chat (mailbox-based workflows)  

### 🔌 Supported email providers

Free version:
* Custom SMTP  
* Custom IMAP  

PRO:
* Mailbox providers: Google Workspace, Microsoft 365, Zoho Mail, Fastmail  
* Delivery providers: SendGrid, Mailgun, Brevo, Postmark, Amazon SES  

### 📊 Built for growth

* Track form submissions and popup events  
* Monitor email activity and campaign performance  
* View contact history, logs, and engagement data  
* Use segmentation and conditions in automation flows  

### 🔒 Secure and flexible

* Frontend and backend validation  
* Spam protection (Honeypot + Google reCAPTCHA v2)  
* Works with Gutenberg and popular page builders  
* Lightweight and modular architecture  

### 🔌 PRO features

The free plugin is fully usable. PRO adds:

* Advanced automation and segmentation  
* Provider integrations  
* WooCommerce integration  
* Extended CRM field types and workflows  

### 💡 Why choose SaleGen Marketing Toolkit?

* All-in-one marketing system inside WordPress  
* No need for multiple plugins  
* No dependency on external SaaS platforms  
* Full control over your data and email delivery  
* Built for real marketing workflows  

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/salegen-marketing-toolkit/` directory, or install via WordPress Plugins screen.  
2. Activate the plugin.  
3. Open the **SaleGen Marketing Toolkit** menu in admin and configure modules.  

== Frequently Asked Questions ==

= Is SaleGen Marketing Toolkit free? =
Yes. The free version includes CRM, Forms, Popups, and Email Campaigns. PRO adds advanced features.

= Who is this plugin for? =
For site owners, marketers, and developers who want a complete marketing system inside WordPress.

= Can I use this instead of multiple plugins? =
Yes. It replaces separate CRM, form, popup, and email plugins.

= Can forms create or update contacts? =
Yes. Forms map directly to CRM fields.

= Can I import/export contacts? =
Yes, via CSV.

= Can I create unlimited forms and popups? =
Yes.

= Does it support email campaigns and automation? =
Yes, including multi-step automation chains.

= Can I use my own SMTP? =
Yes, SMTP and PHP mail() are supported.

= Does it support IMAP and email replies? =
Yes. IMAP can be used for mailbox workflows and replies.

= What is Email Chat? =
A mailbox-based system to read and reply to contact emails inside WordPress.

= Can I use different mail configs? =
Yes, reusable configs can be assigned to different workflows.

= Does it support providers like SendGrid? =
Yes, in PRO.

= Does it support WooCommerce? =
Yes. PRO adds deeper integration and dynamic data.

= Does it support file uploads? =
Yes. Files can be managed in a dedicated module.

= Is it secure? =
Yes. Includes validation and spam protection.

= Does it work with page builders? =
Yes.

= Do I need external services? =
No. You can run everything on your own server.

= Where is data stored? =
Inside your WordPress database.

== External services ==

= Google reCAPTCHA =
Service provider: Google LLC  
Used for spam protection  

Data sent:
* IP address  
* reCAPTCHA response  

Terms: https://www.google.com/intl/en/policies/terms/  
Privacy: https://policies.google.com/privacy  

== Screenshots ==

1. [SaleGen Marketing Toolkit Watch Demo](https://wpsalegen.com/#wpsalegenShowPopup_6?utm_source=wordpress&utm_medium=screenshots&utm_campaign=all "SaleGen Marketing Toolkit Watch Demo")
2. [Contacts (CRM) Watch Demo](https://wpsalegen.com/plugins/contacts/#wpsalegenShowPopup_9?utm_source=wordpress&utm_medium=screenshots&utm_campaign=contacts "Contacts (CRM) Watch Demo")
3. [Email Campaigns & Automations Watch Demo](https://wpsalegen.com/plugins/email-campaigns-automations/#wpsalegenShowPopup_10?utm_source=wordpress&utm_medium=screenshots&utm_campaign=eca "Email Campaigns & Automations Watch Demo")
4. [Form Builder Watch Demo](https://wpsalegen.com/plugins/forms/#wpsalegenShowPopup_7?utm_source=wordpress&utm_medium=screenshots&utm_campaign=form_builder "Form Builder Watch Demo")
5. [Popup Builder Watch Demo](https://wpsalegen.com/plugins/popups/#wpsalegenShowPopup_8?utm_source=wordpress&utm_medium=screenshots&utm_campaign=popup_builder "Popup Builder Watch Demo")
== Changelog ==

= 1.4.0 =
* New: Reusable Mail Configs (SMTP / IMAP) with connection testing and usage across forms, chats, and automations
* New: Provider-based email architecture in admin
* New: Contact Email Chat with IMAP threads, message viewer, and replies
* New: Enhanced Contact CRM history (logs, field changes, timeline, tags)
* New: Contact-level campaign visibility and improved statistics
* New: Custom CSS / JS support in builders (foundation)
* New: Dark admin theme with light/dark toggle
* Improved: Forms, Popups, Email Templates, and Chain Steps editors UX
* Improved: Mail sending consistency via selected configs
* Improved: Dashboard, navigation, and admin UI consistency
* Improved: Contact edit screen (metadata, logs, campaigns view)
* Improved: Shared admin components (inputs, tables, editors, notices)
* Fixed: Form and popup preview issues
* Fixed: Field persistence edge cases
* Fixed: Provider connection UX issues
* Fixed: Dark theme contrast and UI inconsistencies

= 1.3.0 - 1.3.2 =
* New: Full dark admin theme with persistent toggle
* New: Multi-mailbox support (SMTP / IMAP configs)
* New: Contact Email Chat with IMAP sync and replies
* New: Contact analytics (logs, timeline, field history, tags)
* New: Statistics for Forms, Popups, Chains, and Contacts
* New: Chain contacts tab, step stats, and quick actions
* New: Improved PRO discovery (banners, modules, upgrade prompts)
* Improved: Dark UI consistency across all modules
* Improved: Chain editor layout and behavior
* Improved: Popup builder option refresh logic
* Improved: Preview modals (ESC close support)
* Improved: Color picker input sync
* Improved: Forms and fields behavior consistency
* Improved: General UX and performance
* Fixed: Dark mode UI inconsistencies
* Fixed: Theme toggle rendering
* Fixed: Popup positioning and menu highlighting
* Fixed: Email/chat sync and mail config handling
* Fixed: Builder and contact field edge cases

= 1.2.0 =
* New: Pre-built templates for Forms, Popups, and Email Templates
* New: Live preview in builders
* Improved: General improvements
* Fixed: Minor issues

= 1.1.0 - 1.1.4 =
* New: Email Campaigns & Automations module
* New: Manual bounce handling (SMTP / IMAP)
* New: Auto-tagging for failed email contacts
* Improved: General improvements
* Fixed: Minor issues

= 1.0.0 - 1.0.5 =
* New: Initial release (Contacts, Forms, Popups)
* Improved: Plugin description and rating flow
* Fixed: Minor issues