Skip to content

Lelenaic/SpamBuster

Repository files navigation

SpamBuster

Next.js Electron MIT License GitHub Releases

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.

✨ Features

  • 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
CleanShot 2026-03-01 at 20 08 03

🚀 Installation

Download pre-built binaries from the latest release for Linux, MacOS and Windows.

Get it from the Snap Store

?How does it work?

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.

📋 TODO

  • Auto update
  • Publish rules to community marketplace
  • Create a full web dockerized version

🛠️ Development

git clone https://github.com/lelenaic/spambuster.git
cd spambuster
npm ci
npm run dev
  • npm 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.

🔨 CI/CD

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.

📖 Setup Flow

  1. Welcome: Introduction to SpamBuster.
  2. Account Selection: Choose email provider or custom IMAP.
  3. IMAP Settings: Enter server details, credentials.
  4. AI Configuration: Select OpenRouter/Ollama, API keys/models.
  5. Rules: Define custom anti-spam prompts/rules.

🤝 Contributing

Contributions welcome! Fork, PRs to main.

� License

MIT License © 2025 Lénaïc Grolleau.


Star on GitHub · Issues · lenaic.me

About

SpamBuster is an AI anti-spam application that helps you clean your inbox from unwanted emails.

Topics

Resources

License

Stars

5 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors