Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Intelligent email RAG system with AI classification, real-time sync, and semantic search. Dockerized microservices using go-imap-sql, PostgreSQL, Qwen models, and UI to browser processed conversations

Notifications You must be signed in to change notification settings

jokull/email-rag

Repository files navigation

Email RAG System

A self-hosted, AI-powered email RAG system that transforms your email conversations into a searchable, intelligent knowledge base.

🚀 Quick Start

Prerequisites

  • Hardware: Mac mini M2 (16GB RAM) or equivalent
  • Software: Docker, Docker Compose
  • Email: IMAP-enabled email account

Setup

  1. Clone and Configure

    git clone https://github.com/your-repo/email-rag.git
    cd email-rag
    cp .env.example .env
  2. Configure Email Access

    # Edit .env with your IMAP credentials
    nano .env
    
    # Required settings:
    IMAP_HOST=imap.gmail.com
    [email protected]
    IMAP_PASS=your-app-password  # Generate app password for Gmail
  3. Start Services

    # Start all services
    docker-compose up -d
  4. Verify Services

    # Check service health
    curl http://localhost:8080/health  # AI Processor
    curl http://localhost:8082/health  # Content Processor
    
    # Check processing status
    curl http://localhost:8080/process/status

📄 License

MIT License - see LICENSE file for details

About

Intelligent email RAG system with AI classification, real-time sync, and semantic search. Dockerized microservices using go-imap-sql, PostgreSQL, Qwen models, and UI to browser processed conversations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •