=== Email Templates for Contact Form 7 ===

Contributors: lapashanga, freemius
Tags: contact form 7, email templates, cf7, email, contact form
Requires at least: 5.8
Tested up to: 6.9.4
Requires PHP: 7.4
Stable tag: 2.0.22
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Client-friendly HTML email templates for Contact Form 7, with a visual editor and live preview.

== Description ==

= 🎭 Story Time: Sarah Has a Small Business =

**The Problem:**
* Her confirmation emails look like plain text spam ("You sent a message..."). Clients don't trust them.
* She forgets to follow up with leads who asked for quotes but didn't book.
* She misses leads on weekends because she doesn't check her inbox constantly.
* Her VA needs to know immediately when a "VIP Booking Request" comes in, but regular inquiries can wait.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

= 🚀 Step-by-Step Usage & Benefits =

= 1. The "Wow" First Impression (Template Engine) =

**Action:** Sarah installs our plugin. She goes to *Email Templates*, selects her "Request a Quote" form, and clicks *"Add New Rule."*

**Configuration:**
* **Send To:** Defaults to mail_2 (Client).
* **Template:** She picks the *"Tropical Vacation"* HTML template (beautiful images, clear layout).
* **Identity Protection:** She sets From Name to *"Sarah from Wanderlust"* and Reply-To to support@wanderlust.com.

**💡 Benefit:** When a client submits a quote request, they instantly receive a gorgeous, branded email that looks like it came from a major travel corporation. It builds immediate trust. If the client hits "Reply," it goes to Sarah's support inbox, not back to the client's own email address.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

= 2. Smart Routing for Peace of Mind (Conditional Routing) =

**Action:** Sarah creates a second rule for the same form.

**Configuration:**
* **Condition:** If "Budget" field contains "$5000" OR "Type" is "VIP".
* **Send To:** mail (Admin).
* **Template:** A simple, urgent "High Value Lead Alert."
* **Slack Integration:** She checks "Notify Slack" and selects her #vip-leads channel.

**💡 Benefit:** Regular leads go to her general inbox. But the moment a high-value client applies, her phone buzzes with a Slack notification. She drops everything to call them personally. She never misses a big sale again.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

= 3. The "Set It and Forget It" Follow-Up (Automation Triggers) =

**Action:** Sarah realizes she loses 30% of leads because she gets busy and forgets to follow up after 3 days.

**Configuration:** She goes to the new *Automations* tab.
* **Trigger:** "3 Days after submit."
* **Condition:** Only if status is NOT "Replied" (using the Inbox feature).
* **Action:** Send the "Still Thinking? Here's a 5% Discount" template.

**💡 Benefit:** The plugin automatically nags potential clients for her. If she already replied manually, the automation cancels itself (smart logic). If she didn't, the system sends a persuasive follow-up email while she sleeps. This directly recovers lost revenue.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

= 4. Centralized Management (Submission Inbox & Settings) =

**Action:** On Monday morning, Sarah opens the *Settings > Submission Inbox* (or the dedicated Inbox page).

**Experience:** She sees a list of all submissions.
* 🟢 **Green dot:** Replied.
* 🔴 **Red dot:** Pending.
* She can see exactly which automation fired and if the client opened the email (*Analytics*).

**💡 Benefit:** She doesn't have to dig through Gmail threads. She has a CRM-lite view right inside WordPress. She knows exactly which leads are warm and which need attention.

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

= 💰 The Bottom Line for Sarah =

**Before our plugin:**
❌ Looked unprofessional.
❌ Lost leads due to forgotten follow-ups.
❌ Missed VIP alerts on weekends.
❌ Spent 5 hours/week managing emails manually.

**After our plugin:**
✅ **Professionalism:** Clients trust her brand immediately due to beautiful templates.
✅ **Revenue:** Automated follow-ups recover 10-15% of lost leads automatically.
✅ **Efficiency:** Slack alerts ensure VIPs get instant service; smart routing filters noise.
✅ **Time Savings:** Saves her 5+ hours a week on manual emailing and tracking.

= Why She Pays $4.99/month: =

**She calculates that one recovered booking from an automated follow-up pays for the plugin for three years. It's not an expense; it's a profit generator.**

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

= 📋 Core Free Features =

* **🎨 Free Templates** – A set of free templates ( 12 Templates ) for newsletters, announcements, and more.
* **📜 Template Versioning** – Save and manage multiple versions of the same template.
* **✏️ Visual Template Editor** – Edit placeholder fields with live preview of the email.
* **📧 Client-Friendly HTML** – Layouts designed to display well in Gmail, ProtonMail, Apple Mail, Yahoo Mail, and Outlook.
* **➕ Add to Contact Form** – One-click "Add to Contact Form" to create a CF7 form from your template.
* **👁️ Live Preview** – Preview any template before using it.
* **💾 Saved Templates** – Save your customized versions and edit them later.
* **⚙️ Automation Triggers** – Set up automated follow-ups based on time delays and submission status.
* **🔧 Rule Builder** – Create advanced conditional rules for email routing and actions.
* **🔔 Slack Integration** – Get instant notifications in your Slack channels for important submissions.
* **🔄 Conditional Routing** – Route emails to different recipients based on form field values.

= ⭐ Premium (Pro) Features =

Upgrade to **Pro** for access to premium templates, open/click tracking, submission inbox, and many more powerful features:

**Email Analytics Dashboard**
See which emails get opened. Track link clicks. Know which forms perform best. Data that helps Sarah make smarter decisions.

**Follow-Up Email Sequences**
Set up automatic follow-up emails. A welcome message. A reminder. A special offer. Sarah schedules them once and they go out automatically — days or weeks later.

**Multiple Email Providers**
Sarah uses SendGrid for reliable delivery. You might prefer Postmark or your Gmail account. Connect your preferred provider in settings. We handle the rest.

**Webhook Integration**
Connect your forms to Slack, Zapier, Discord, CRMs, and 1000+ other tools. Form submitted? Send the data anywhere you need it — automatically.

* **Open/Click Tracking (Pro)**
 – Track when recipients open emails and click links.

* **Submission Inbox (Pro)**
 – Manage all form submissions in a centralized inbox with status tracking.

* **Premium Templates (Pro)**
 – Access exclusive professional templates for various industries.

* **Email Analytics Dashboard (Pro)**
 – See which emails get opened. Track link clicks. Know which forms perform best. Data that helps Sarah make smarter decisions.

* **Follow-Up Email Sequences (Pro)**
 – Set up automatic follow-up emails. A welcome message. A reminder. A special offer. Sarah schedules them once and they go out automatically — days or weeks later.

* **Multiple Email Providers (Pro)**
 – Sarah uses SendGrid for reliable delivery. You might prefer Postmark or your Gmail account. Connect your preferred provider in settings. We handle the rest.

* **Webhook Integration (Pro)**
 – Connect your forms to Slack, Zapier, Discord, CRMs, and 1000+ other tools. Form submitted? Send the data anywhere you need it — automatically.


[Some Visuals](https://templates.la-pash.store/how_to)

[To Your Inbox](https://templates.la-pash.store/marketplace/test)

[Get the Pro version here](https://templates.la-pash.store/plugins/email_templates_contact_form_7)

[Free Trial - No Card](https://templates.la-pash.store/plugins/email_templates_contact_form_7)

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

= Requirements =

* WordPress 5.8 or higher
* PHP 7.4 or higher
* **Contact Form 7** plugin installed and activated

== Installation ==

1. Install and activate **Contact Form 7**.
2. Install and activate **Email Templates for Contact Form 7**.
3. Go to **Email Templates** in the admin menu (or **Contact** → **Email Templates** depending on your setup).
4. Use the **Saved** or **Free** filter to browse templates, or click **Use template** to open the editor.
5. In the editor, fill in the fields and click **Save Changes**. The selected template can be used as your Contact Form 7 mail body (no HTML editing) and includes one-click **Add to Contact Form**. Pro users get premium templates, multiple versions, and the Submission Inbox.

== Frequently Asked Questions ==

= Do I need Contact Form 7? =

Yes. This plugin adds email templates that are used as the **mail body** (and optionally mail 2) in Contact Form 7. CF7 must be installed and activated.

= Can I preview templates without upgrading? =

Yes. You can browse all free templates from the listing page.

= What’s the difference between free and Pro? =

Free: access to free templates, visual editor + live preview, saved versions, automation triggers, rule builder, Slack integration, conditional routing, template versioning, and using the template as your CF7 mail body, plus one-click “Add to Contact Form.” Pro: access to premium templates, open/click tracking, submission inbox, email analytics dashboard, follow-up sequences, multiple email providers, webhook integration, and premium support.

== Screenshots ==

1. Email Templates listing – Saved and Free filters.
2. Template editor – Fields and live preview.
3. Preview modal – Template thumbnail and name.
4. Saved templates – Manage your saved templates.

== Changelog ==

= 2.0.22 =
* Rebuilt versioning logic from scratch.
* Moved Rule Builder under Email Templates menu.
* Improved save workflow for templates.

= 2.0.21 =
* Force refresh stable tag.

= 2.0.20 =
* Updated pricing text and made URLs clickable.

= 2.0.19 =
* Updated Freemius SDK to 2.13.1.

= 2.0.18 =
* Force refresh description cache.

= 2.0.17 =
* Updated screenshots and readme text.

= 2.0.16 =
* Version bump.

= 2.0.14 =
* refresh wordpress.org banner using banner-772x250/banner-1544x500

= 2.0.15 =
* refresh wordpress.org banner header using assets/banner-772x250.png

= 2.0.13 =
* re-upload banner image (same filename) to force WP.org refresh

= 2.0.12 =
* add Submission Inbox pro feature, move Add to Contact Form to free description section, update banner image

= 2.0.11 =
* fix missing thumbnails for newly added free templates

= 2.0.10 =
* add more free templates to listings

= 2.0.9 =
* fix overral bugs , add more free templates , automatically add as contact form when saving

= 2.0.8 =
* WordPress.org compliance: remove locked/premium templates from free build.
* WordPress.org compliance: remove licensing checks from free build.

= 2.0.7 =
* WordPress.org compliance: escape late fixes for admin output.
* WordPress.org compliance: improved unique prefix usage for Freemius init.
* Build: exclude development files from release ZIP.

= 2.0.6 =
* Version bump.

= 2.0.5 =
* Added languages folder for Domain Path compliance (WordPress.org).

= 2.0.4 =
* Version bump.

= 2.0.3 =
* Version bump.

= 2.0.2 =
* Version bump.

= 2.0.1 =
* Security fixes: input sanitization, nonce verification, output escaping.
* WordPress.org compliance: readme name/tags, moved BUILD.md to docs.

= 2.0.0 =
* Namespaced Freemius SDK (Strauss) to avoid conflicts with other plugins.
* WordPress.org compliance improvements.

= 1.1.1 =
* Version bump.

= 1.1.0 =
* Version bump.

= 1.0.0 =
* Initial release.
* Free and premium template library.
* Template editor with placeholders and live preview.
* Add to Contact Form (Pro).
* Multiple template versions (Pro).
* Preview for all templates (free and premium).

== Upgrade Notice ==

= 2.0.22 =
Update to version 2.0.22.

= 2.0.21 =
Update to version 2.0.21.

= 2.0.20 =
Update to version 2.0.20.

= 2.0.19 =
Update to version 2.0.19.

= 2.0.18 =
Update to version 2.0.18.

= 2.0.17 =
Update to version 2.0.17.

= 2.0.16 =
Update to version 2.0.16.

= 2.0.15 =
Update to version 2.0.15.

= 2.0.14 =
Update to version 2.0.14.

= 2.0.13 =
Update to version 2.0.13.

= 2.0.12 =
Update to version 2.0.12.

= 2.0.11 =
Update to version 2.0.11.

= 2.0.10 =
Update to version 2.0.10.

= 2.0.9 =
Update to version 2.0.9.

= 2.0.8 =
Update to version 2.0.8.

= 2.0.7 =
Update to version 2.0.7.

= 2.0.6 =
Update to version 2.0.6.

= 2.0.5 =
Domain Path compliance update.

= 2.0.4 =
Update to version 2.0.4.

= 2.0.3 =
Update to version 2.0.3.

= 2.0.2 =
Update to version 2.0.2.

= 2.0.1 =
Security and WordPress.org compliance improvements. Update recommended.

= 2.0.0 =
Major update: Prefixed Freemius SDK for better compatibility. Update recommended.

= 1.1.1 =
Update to version 1.1.1.

= 1.1.0 =
Update to version 1.1.0.

= 1.0.0 =
Initial release of Email Templates for Contact Form 7.
