inBOXER - Email classification and organization tool using IMAP and AI
Find a file
cclohmar 283faddb05 Phase 3: AI Classification via DeepSeek (Version: 2026-04.3)
- DeepSeek API client with configurable model, temperature, max tokens
- Prompt template engine: loads bin/prompt.txt at runtime, substitutes {sender}/{subject}/{body}
- Response parser validates folder names (Important/eCommerce/Spam/Other) and confidence scores (1-100)
- Graceful fallback to placeholder classifier if prompt file/API key missing
- Email body text limit increased to 4000 chars for AI context
- Replaced EmailSummary.Snippet with EmailSummary.Body
- Wired real AI classifier into main.go init
2026-04-23 11:13:10 +00:00
bin Phase 1: Foundation, OTP Auth & Mobile Frontend (Version: 2026-04.1) 2026-04-23 08:26:32 +00:00
docs Phase 3: AI Classification via DeepSeek (Version: 2026-04.3) 2026-04-23 11:13:10 +00:00
src Phase 3: AI Classification via DeepSeek (Version: 2026-04.3) 2026-04-23 11:13:10 +00:00
.gitignore Phase 1: Foundation, OTP Auth & Mobile Frontend (Version: 2026-04.1) 2026-04-23 08:26:32 +00:00
AGENTS.md Phase 1: Foundation, OTP Auth & Mobile Frontend (Version: 2026-04.1) 2026-04-23 08:26:32 +00:00
go.mod Phase 2: IMAP Client & Background Worker (Version: 2026-04.2) 2026-04-23 11:02:02 +00:00
go.sum Phase 2: IMAP Client & Background Worker (Version: 2026-04.2) 2026-04-23 11:02:02 +00:00
Makefile Phase 1: Foundation, OTP Auth & Mobile Frontend (Version: 2026-04.1) 2026-04-23 08:26:32 +00:00
PROJECT_PLAN.md Phase 1: Foundation, OTP Auth & Mobile Frontend (Version: 2026-04.1) 2026-04-23 08:26:32 +00:00
README.md Phase 1: Foundation, OTP Auth & Mobile Frontend (Version: 2026-04.1) 2026-04-23 08:26:32 +00:00

inBOXER

Email classification and organization tool using IMAP and AI.

Overview

inBOXER is a Go application that:

  • Connects to your IMAP email account
  • Uses DeepSeek AI to classify incoming emails
  • Automatically moves emails to appropriate folders (Important, eCommerce, Other, Spam)
  • Provides a web interface for configuration and monitoring

Features

  • Email + OTP Authentication: Secure login without passwords
  • AI-Powered Classification: Uses DeepSeek LLM for intelligent email sorting
  • Mobile-First Web Interface: Responsive design for all devices
  • Modular Architecture: Clean separation of concerns (auth, IMAP, AI, database, worker)
  • Test Mode: Preview AI decisions without moving emails

Quick Start

  1. Clone the repository
  2. Configure .env with your API keys and credentials
  3. Run make build to compile the binary
  4. Run make run to start the application
  5. Access the web interface at http://localhost:8080

Architecture

See PROJECT_PLAN.md for detailed architecture and development phases.

License

See docs/LICENSE.md for license information.