94 lines
3.3 KiB
Markdown
94 lines
3.3 KiB
Markdown
|
|
# Auto-Draft with GPT for Gmail, Instantly & Plusvibe
|
||
|
|
|
||
|
|
A Chrome extension that auto-drafts email replies using your custom GPT model (OpenAI API) for Gmail, Instantly.ai, and Plusvibe/Pipl.ai.
|
||
|
|
|
||
|
|
## Features
|
||
|
|
- **Multi-Platform Support**: Works on Gmail, Instantly.ai's Unibox, and Plusvibe/Pipl.ai
|
||
|
|
- **Auto-draft**: Automatically generates a draft reply when you open a new email (if enabled)
|
||
|
|
- **Manual draft**: "Auto-Draft with GPT" button for on-demand drafting
|
||
|
|
- **Batch draft**: Generate drafts for multiple selected threads from the inbox (Gmail only)
|
||
|
|
- **Custom prompt**: Set your own prompt for GPT
|
||
|
|
- **Platform detection**: Automatically detects which platform you're on
|
||
|
|
- **API Integration**: Optional API support for Plusvibe for enhanced extraction
|
||
|
|
- **Color scheme**: Uses green, gold, and white (newfrontierfunding.com style)
|
||
|
|
|
||
|
|
## Supported Platforms
|
||
|
|
|
||
|
|
### Gmail
|
||
|
|
- Full support for all features
|
||
|
|
- Batch draft generation
|
||
|
|
- Thread extraction
|
||
|
|
- Gmail API integration
|
||
|
|
|
||
|
|
### Instantly.ai
|
||
|
|
- Unibox support
|
||
|
|
- DOM-based message extraction
|
||
|
|
- Auto-draft generation
|
||
|
|
- Reply box integration
|
||
|
|
|
||
|
|
### Plusvibe/Pipl.ai
|
||
|
|
- Inbox/Unibox support
|
||
|
|
- Smart DOM extraction (works without API)
|
||
|
|
- Optional API integration for enhanced features
|
||
|
|
- Auto-draft generation
|
||
|
|
- Configurable API endpoints
|
||
|
|
|
||
|
|
## Setup Instructions
|
||
|
|
|
||
|
|
1. **Clone or Download** this folder to your computer.
|
||
|
|
2. **Open Chrome** and go to `chrome://extensions/`.
|
||
|
|
3. Enable **Developer mode** (top right).
|
||
|
|
4. Click **Load unpacked** and select the extension folder.
|
||
|
|
5. Click the extension icon and go to **Options**:
|
||
|
|
- Enter your **OpenAI API key** (format: `sk-...`)
|
||
|
|
- Enter your **Assistant ID** (format: `asst_...`)
|
||
|
|
- (Optional) Set a custom prompt
|
||
|
|
- Toggle auto-draft on/off as desired
|
||
|
|
6. **For Gmail**: Go to Gmail and open an email to reply
|
||
|
|
7. **For Instantly**: Go to Instantly.ai Unibox and open a conversation
|
||
|
|
|
||
|
|
## Using the Extension
|
||
|
|
|
||
|
|
### On Gmail
|
||
|
|
- Open an email thread
|
||
|
|
- Click the "Auto-Draft with GPT" button or use auto-draft
|
||
|
|
- For batch drafts, select multiple threads in inbox and click "Generate Drafts for Selected"
|
||
|
|
|
||
|
|
### On Instantly.ai
|
||
|
|
- Navigate to the Unibox (`/app/unibox`)
|
||
|
|
- Open a conversation
|
||
|
|
- Start a reply
|
||
|
|
- The Auto-Draft UI will appear automatically
|
||
|
|
- Click "Auto-Draft with GPT" to generate a reply
|
||
|
|
|
||
|
|
## Notes
|
||
|
|
- **Drafts are context-aware**: The AI reads the entire conversation thread
|
||
|
|
- **Platform detection is automatic**: No need to configure anything
|
||
|
|
- **Gmail functionality unchanged**: All existing features work exactly as before
|
||
|
|
- **Instantly support is modular**: New platform support doesn't affect Gmail code
|
||
|
|
|
||
|
|
## Security
|
||
|
|
- Your OpenAI API key is stored locally and only used for API calls from your browser
|
||
|
|
- No data is sent to external servers except OpenAI for draft generation
|
||
|
|
|
||
|
|
## Troubleshooting
|
||
|
|
|
||
|
|
### Gmail Issues
|
||
|
|
- Ensure you're logged into Gmail
|
||
|
|
- Check that the extension has necessary permissions
|
||
|
|
- Try refreshing the page
|
||
|
|
|
||
|
|
### Instantly Issues
|
||
|
|
- Make sure you're on the Unibox page (`/app/unibox`)
|
||
|
|
- Check browser console for any errors
|
||
|
|
- See `INSTANTLY_SETUP.md` for detailed troubleshooting
|
||
|
|
|
||
|
|
## Future Improvements
|
||
|
|
- Support for more email platforms
|
||
|
|
- Template management
|
||
|
|
- Analytics and tracking
|
||
|
|
- Bulk operations for Instantly
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
Enjoy faster, smarter email replies with GPT on multiple platforms!
|