AI-powered spam email cleaner for your emails (Outlook, Gmail and IMAP)
Uses OpenRouter or Ollama to classify emails based on your custom anti-spam rules.
- AI-Driven Spam Detection: Leverage powerful LLMs via OpenRouter or local Ollama.
- Multiple Integrations: Connect to Gmail (using Google API), Outlook (using Microsoft API), or any IMAP server.
- Custom Rules: Configure rules sent to AI for intelligent spam filtering.
- Cross-Platform: Electron builds for macOS (DMG), Windows (NSIS), Linux (AppImage, Snap).
- Modern UI: Shadcn UI components, Tailwind CSS, Lucide React icons, Sonner toasts.
- Vector database: LanceDB included to match with previous analyzed emails for a better analysis
Download pre-built binaries from the latest release for Linux, MacOS and Windows.
You start by configuring a mail account and an AI provider. Then every x minutes it will check your new emails, download them and send them to the configured AI model to analyze them. You can configure custom rules too to restrict spam check or whitelist some senders for example. You can enable a integrated vector database that will stored the analyzed emails and will be use to match similar emails to guide AI thanks to previous analysis.
- Auto update
- Publish rules to community marketplace
- Create a full web dockerized version
git clone https://github.com/lelenaic/spambuster.git
cd spambuster
npm ci
npm run devnpm run dev: Concurrent Next.js dev server + Electron.npm run build: Build production app (next build && electron-builder).npm run mac-build: macOS build without auto identity discovery (no app signature).npm run lint: ESLint check.
GitHub Actions builds and publishes releases on tag pushes:
- Ubuntu: AppImage + Snap
- macOS: DMG
- Windows: NSIS installer
Secrets configured for code signing and Snap store.
- Welcome: Introduction to SpamBuster.
- Account Selection: Choose email provider or custom IMAP.
- IMAP Settings: Enter server details, credentials.
- AI Configuration: Select OpenRouter/Ollama, API keys/models.
- Rules: Define custom anti-spam prompts/rules.
Contributions welcome! Fork, PRs to main.
MIT License © 2025 Lénaïc Grolleau.
⭐ Star on GitHub · Issues · lenaic.me
