Logo
Deploy Now

SaaS Alternative

Superhuman SaneBox Shortwave

Stars

177

Forks

20

Watchers

3

Developer links

DispatchMail

DispatchMail is an SuperHuman alternative and delivers a self-hosted AI email assistant that processes your Gmail inbox through configurable OpenAI prompts without sending data to third-party cloud services beyond the LLM API itself. The Flask backend connects to Gmail via IMAP, retrieves new messages according to your schedule, and routes them through customizable whitelist rules based on sender address, subject keywords, or natural language descriptions before AI processing begins. Two distinct prompt configurations control behavior — the Reading Prompt instructs how the AI should analyze and classify incoming messages, while the Draft Prompt defines how responses should be composed, letting you maintain consistent tone and policy across all automated replies. Whitelist filtering ensures the AI only processes messages you explicitly authorize, preventing unnecessary API costs and keeping sensitive emails out of the LLM pipeline entirely. The React web interface provides inbox management with message previews, AI-generated summaries, draft editing with human-in-the-loop approval before sending, and configuration panels for prompts and rules. Automatic labeling and archival organize processed messages into categories without manual intervention. The sender research feature uses LLM-powered deep analysis to build background profiles of email contacts. All email content, credentials, and processing results persist in a local SQLite database with zero cloud storage dependencies. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.

DispatchMail

Benefits

  • Privacy-First Local Storage
  • All email content, credentials, drafts, and processing results stored in local SQLite with zero cloud storage dependencies. Only the LLM API call leaves your server.
  • Customizable AI Behavior Prompts
  • Separate Reading and Draft prompts let you define exactly how AI analyzes incoming messages and composes responses, maintaining consistent tone and business policy across replies.
  • Whitelist-Controlled AI Access
  • Filter rules based on sender, subject, or natural language descriptions control which emails reach the AI. Unauthorized messages bypass processing entirely, saving API costs.
  • Human-In-The-Loop Draft Approval
  • AI generates response drafts for review in the web interface before sending. Edit, approve, or discard each draft manually to prevent autonomous email mistakes.

Features

  • Gmail IMAP Integration
  • Connects to Gmail accounts via IMAP protocol for email retrieval with configurable polling intervals and app password authentication for secure access.
  • Automatic Email Labeling
  • AI classifies and labels incoming messages into configurable categories with automatic archival of low-priority threads based on your reading prompt instructions.
  • Sender Profile Research
  • LLM-powered deep analysis builds background profiles of email contacts by researching sender information and providing context for your email responses.
  • React Web Dashboard
  • Inbox management interface with message previews, AI summaries, draft editing, whitelist configuration, and prompt management accessible via browser.
  • REST API Endpoints
  • Full API for emails, drafts, prompts, whitelist rules, and user management enabling custom integrations and automation beyond the built-in web interface.