MAIL-AI
Agentic AI email assistant. A two-agent Writer and Reviewer pipeline on the OpenAI Agents SDK that decides its own tool calls, grounded in your past emails through semantic search.

MAIL-AI is a multi-user email assistant built on the OpenAI Agents SDK running on Gemini. The distinction that matters is that it is genuinely agentic rather than a chatbot wrapped around an inbox: a Writer agent and a Reviewer agent pass work between them, and the agent decides which tools to call on its own. Drafts are grounded in what you have actually written before — past emails are embedded with pgvector, so relevant prior conversations are retrieved by meaning rather than keyword. It reads and sends from each user's own Gmail account through OAuth, and nothing leaves the outbox without an explicit human approval step.
Two-agent Writer and Reviewer pipeline on the OpenAI Agents SDK, running on Gemini, with autonomous tool-use
RAG semantic search over past emails using pgvector embeddings, grounding drafts in relevant prior threads
Google OAuth via Supabase and the Gmail API, with per-user token management and least-privilege scopes
Direct PostgreSQL data layer (node-postgres) with per-user scoping and human-in-the-loop send approval