=== MailDraft AI === Contributors: secureweb16 Donate link: Tags: imap, email-reader, ai, gpt, automated-reply Requires at least: 5.0 Tested up to: 6.9 Stable tag: 1.1.8 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Read incoming form emails from Gmail/IMAP, store them in your WordPress backend, and respond using AI-powered drafts. == Description == MailDraft AI is a powerful utility for businesses that want to manage their incoming lead or contact form emails directly from WordPress. It connects to your Gmail (or any IMAP-enabled) inbox, fetches emails, and organizes them in a clean dashboard. The plugin features a built-in AI assistant powered by OpenAI, which can automatically generate professional replies based on your custom business context and the content of the email you received. = Key Features = * IMAP Integration: Securely connect to Gmail or other IMAP servers. * Automated Sync: Fetches new emails every 5 minutes via WordPress Cron. * AI Draft Generation: Uses OpenAI GPT to draft professional responses. * Custom Context: Provide business-specific details for the AI to include in replies. * Signature Support: Add professional text and image signatures to your replies. * Unified Dashboard: View, search, and manage all your form submissions in one place. == Installation == 1. Upload the `secureweb16-ai-email-assistant` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Go to 'Form Emails' -> 'Settings' to configure your IMAP credentials and OpenAI API key. 4. Ensure your Gmail account has "App Passwords" enabled if you are using 2FA. == Frequently Asked Questions == = Does this work with Gmail? = Yes, it is pre-configured for Gmail IMAP. You will need to use an "App Password" if your Gmail has 2-Step Verification enabled. = Do I need an OpenAI API Key? = Yes, for the AI draft generation feature to work, you must provide a valid OpenAI API Key in the settings. = How often are emails checked? = By default, the plugin checks for new emails every 5 minutes. == External Services == This plugin connects to third-party services to provide its functionality. = OpenAI API = Used to generate AI-powered email draft replies. Data sent: - Email content - User input text When: - When user generates a draft reply Why: - To generate intelligent email responses Terms of Service: https://platform.openai.com/terms/ Privacy Policy: https://openai.com/privacy/ --- == Development == This plugin includes minified JavaScript files for Firebase integration. The full source code is available at: https://github.com/secureweb16/maildraft_ai Developers can review, modify, and rebuild assets from the source repository. == Changelog == = 1.1.8 = * updated time range option name EmailDraft AI = 1.1.7 = * updated name EmailDraft AI * Updated all function, option, and hook prefixes to secuemdr_ for uniqueness * Updated admin menu slug from generic term to secuemdr-emails * Updated database table names to use unique secuemdr_ prefix = 1.1.6 = * Fixed text domain to match plugin slug (secureweb16-ai-email-assistant) * Updated all function, option, and hook prefixes to secuemdr_ for uniqueness * Updated admin menu slug from generic term to secuemdr-emails * Updated database table names to use unique secuemdr_ prefix = 1.1.5 = * Fixed text domain to match plugin slug (secureweb16-ai-email-assistant) * Updated all function, option, and hook prefixes to secuemdr_ for uniqueness * Updated admin menu slug from generic term to secuemdr-emails * Updated database table names to use unique secuemdr_ prefix = 1.1.4 = * Fixed WordPress.org review issues * Added external services documentation (OpenAI, Firebase) * Added source code reference for minified JS * Improved security with nonce and permission checks * Updated plugin naming and prefix for uniqueness = 1.1.3 = * Fixed WordPress.org compliance issues. * Added external services documentation. * Improved security with nonce validation. * Updated plugin naming and structure. = 1.1.0 = * Fixed email extraction from "Name " format. * Added support for signatures (text and image). * Improved code organization. = 1.0.0 = * Initial release.