- Fixed: Manual label application via right-click (AutoSort+ > AutoSort Label > pick any) now works reliably in all Thunderbird message list views.
- Root Cause: The extension previously relied on a content script (content.js) to fetch selected messages, but Thunderbird does not inject content scripts into privileged mail/message tabs. This caused the error: "Could not establish connection. Receiving end does not exist."
- Solution: The logic for fetching selected messages and applying labels is now handled entirely in the background script using the mailTabs API. This removes the dependency on content scripts for this feature and ensures robust operation.
- No other features are affected by this change; all AI, Ollama, and label management features continue to work as before.
- Ollama Model Download UI: Buttons are now always below the download input and never overlap.
- Ollama response parsing and label matching are more robust and tolerant (closest match if not exact).
- Improved error handling for model/tag mismatches and 404s.
- Clear error messages in tooltip and status
- Cannot save or test duplicate keys
- Better Key Management - Users notified if key is already added
Ollama Model Download UI: Buttons are now always below the download input and never overlap.
Ollama response parsing and label matching are more robust and tolerant (closest match if not exact).
Improved error handling for model/tag mismatches and 404s.
- Visual indicator with red border and background
- Test button blocked for duplicates
- Save prevented with helpful error message
- Toolbar Icon - Quick access button in top-right of Thunderbird
- Click the AutoSort+ icon to instantly open settings
- Hover for tooltip "AutoSort+ Settings"
- No need to navigate through menus anymore
- Faster settings access - one click from anywhere in Thunderbird
- Better addon visibility - always accessible in toolbar
- Tooltip provides clear button function
- Fixed single-key usage tracking - Now properly displays "Today's Usage:" when using only 1 Gemini API key
- Fixed rate limit notification - Persistent notification now shows when limit is reached on single or multiple keys
- Improved API test feedback - Shows specific error messages:
- 429 error: "⛔ Limit reached" (key has exhausted daily quota)
- 401/403 error: "✗ Invalid key" (key is invalid or expired)
- Other errors: "✗ Failed (status code)"
- Added tooltips - Hover over test results to see detailed error explanations
- Better error messaging for API key testing
- More intuitive status indicators with help text
- Cursor changes to "help" icon when hovering over test results
- Single-key configurations now display in new multi-key format
- Multiple Gemini API Key Support - Add multiple API keys from different Google Cloud projects
- Automatic Key Rotation - Seamlessly switches between keys when rate limits are reached
- Per-Key Usage Tracking - Monitor usage statistics for each API key individually
- Smart Key Management - Visual indicators show which key is active and available
Free Gemini tier provides 20 requests/day per project. With multiple keys:
- Add keys from different Google Cloud projects
- Extension automatically rotates to next available key
- Example: 5 keys = 100 requests/day total
- Each key tracks its own rate limit independently
- Enhanced UI for multi-key management
- Individual test buttons for each API key
- Real-time status indicators (Active, Ready, Near Limit, Limit Reached)
- Better error messages when all keys are exhausted
- Backward compatible with single-key configurations
- Fixed API key test function for Gemini keys
- Fixed test result display to show inline status per key
- Improved key validation feedback
Free API tiers are severely limited when processing emails! Email content is large text, which counts heavily against rate limits:
- Gemini: ~15-20 emails before hitting limits
- OpenAI: ~5-10 emails (very strict on free tier)
- Anthropic: ~10-15 emails
- Groq: ~20-30 emails (best free option)
- Mistral: ~10-15 emails
For daily email processing, paid API plans are strongly recommended.
Free tiers are suitable for:
- Occasional use (a few emails per day)
- Testing the addon
- Light personal email management
For regular use, consider:
- Upgrading to paid API tiers ($5-20/month)
- Processing emails in small batches with delays
- Using Groq for the highest free tier limits
- Multi-provider AI support (Gemini, OpenAI, Anthropic, Groq, Mistral)
- IMAP folder discovery - Automatically load folders from mail accounts
- Batch email processing - Select and sort multiple emails at once
- Move history tracking - Last 100 email moves recorded
- Smart label matching - Skips null categories, auto-creates custom folders
- Professional UI - Provider info cards, real-time validation
- Added support for 5 AI providers with easy switching
- Updated Groq to llama-3.3-70b model
- Improved error handling and validation
- Fixed batch email processing bugs
- Enhanced folder management
- Added rate limit guidance
- Download the autosortplus.xpi file
- Open Thunderbird
- Click the Menu button (☰) and select "Add-ons and Themes"
- Click the gear icon and select "Install Add-on From File..."
- Select the downloaded autosortplus.xpi file
- Click "Add" when prompted to install the add-on
- Restart Thunderbird when prompted
- AI-powered email sorting
- Custom categories/folders management
- Gemini API integration
- Automatic email organization
- Removed bulk actions
- Made AI sorting always enabled
- Improved UI with detailed AI description
- Updated terminology from labels to categories/folders
- Download the autosortplus.xpi file
- Open Thunderbird
- Click the Menu button (☰) and select "Add-ons and Themes"
- Click the gear icon and select "Install Add-on From File..."
- Select the downloaded autosortplus.xpi file
- Click "Add" when prompted to install the add-on
- Restart Thunderbird when prompted