Inbox Zero Agent
An AI inbox agent that prioritizes mail, drafts replies in your voice, schedules sends, and surfaces only the threads that need you—Gmail and Outlook.
Knowledge workers spend more than two hours every day inside email — reading, triaging, drafting, deferring, and re-reading threads they meant to answer yesterday. The inbox is an infinite to-do list owned by everyone else. A founder opens Gmail at 7 a.m.: 47 unread. Fourteen are newsletters, nine are FYI cc's, six are genuine asks with buried deadlines, three are angry customer threads needing careful replies today. The rest is scheduling ping-pong and "quick question" messages that each cost fifteen minutes of context-switching.
Built for Solo Founders, Developers, Marketers.
The global email management software market was valued at roughly USD 6.5 billion in 2023 and is projected to reach USD 13.5 billion by 2032, growing at approximately 8.5% CAGR (DataIntelo).
Suggested stack: Chrome Extension (Manifest V3), Next.js App Router + Vercel, Gmail API + Microsoft Graph, Claude (Anthropic API), Postgres (Supabase or Neon), Stripe Billing. Weekend scope: about 10 hours.
The Problem
Knowledge workers spend more than two hours every day inside email — reading, triaging, drafting, deferring, and re-reading threads they meant to answer yesterday. The inbox is an…
The Solution
Inbox Zero Agent (working name: InboxZen) is an AI inbox agent on top of Gmail and Outlook — a chief of staff for your mail. It scores priority from sender history, deadline…
Market Research
The global email management software market was valued at roughly USD 6.5 billion in 2023 and is projected to reach USD 13.5 billion by 2032, growing at approximately 8.5% CAGR…
Competitive Landscape
Superhuman — The premium email client benchmark. Blazing UI, split inbox, AI snippets, team read statuses. Requires leaving Gmail's native UI and learning new shortcuts. $30/month…
Business Model
Free Trial (14 days) — Full attention queue and drafting on one mailbox; capped at 50 AI drafts to prevent abuse.
Recommended Tech Stack
Chrome Extension (Manifest V3) — Side panel for attention queue, thread preview, draft editor, and approve/schedule actions. Background service worker syncs new mail on interval…
AI Prompts to Build This
Copy these build prompts into Claude, Cursor, or your AI coding tool. Create a free account to unlock the full research behind them.
1. Project Setup
Build the weekend MVP of the "Inbox Zero Agent": it reads your recent Gmail, ranks the threads that need you today, and saves a reply in your voice as a Gmail draft. It never sends, archives or deletes anything. Stack: Next.js (App Router), TypeScript, Tailwind, Supabase (Postgres, Row Level Security, Auth with Google sign-in), the Gmail API through Google OAuth with the read-only and compose scopes, the Anthropic API for ranking and drafts. Your own account in Google's testing mode is enough. Deploy on Vercel. Tables (Row Level Security on, each user reads only their own rows): - mail_accounts(id, user_id, provider, refresh_token_encrypted, last_sync_at) - threads(id, mail_account_id, provider_thread_id, subject, sender, last_message_at, priority, score, reason, summary, detected_deadline, status) priority is reply_now, reply_today, delegate or archive; status is pending, drafted or done - drafts(id, thread_id, body, gmail_draft_id, created_at) - style_profiles(user_id, tone_notes, avg_length, sign_off, example_snippets jsonb) - feedback_events(id, thread_id, kind, created_at) Screens: /login, /queue (today's ranked threads), /threads/[id] (the thread summary and the draft), /style. Env vars (names only): NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY, SUPABASE_SERVICE_ROLE_KEY (server only), GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, ANTHROPIC_API_KEY, TOKEN_ENCRYPTION_KEY. Do not build: billing, plans or seats, Outlook, a Chrome extension, sending or scheduling mail, the weekly report, Google's app verification. Done when: npm run dev starts, you can sign in with Google, and the five tables exist with Row Level Security on.
2. Core Feature
Build the one feature that proves the Inbox Zero Agent: a short list of the threads that need you, and a draft you only have to read. 1. After sign-in, save the Google refresh token encrypted with TOKEN_ENCRYPTION_KEY. Never log a token. 2. A Sync button lists the 50 most recent inbox threads through the Gmail API. For each new or changed thread, fetch the subject, sender, snippet and the last 3 messages as plain text with quoted replies stripped. 3. Send those to the Anthropic API with a strict JSON schema { priority: "reply_now" | "reply_today" | "delegate" | "archive", score: number from 0 to 100, reason: string, detected_deadline: string or null, summary: string }. reply_now means explicit urgency or a deadline within 24 hours. reply_today means a direct question or a meeting request. archive means automated mail and newsletters. 4. Save subject, sender, summary and the result. Do not store message bodies. /queue shows up to 12 threads with reply_now or reply_today, ranked by score, each with its reason in one sentence. 5. Build a style profile once from your last 100 sent messages: tone notes, average length, usual sign-off and 3 example replies. Show it on /style so you can edit it. 6. A Draft reply button sends the thread text and the style profile to the Anthropic API and returns a plain-text reply with no subject and no markdown. Show it in an editor. Save to Gmail creates a draft attached to the thread with users.drafts.create. You send it from Gmail. 7. A Not urgent button logs a feedback event and lowers that sender's score next time. Rules: the agent only reads and creates drafts. It never sends, archives, deletes or labels. Say that on the queue page. Empty state: before the first sync, show the Sync button and what the agent will and will not do. Done when: a sync ranks real threads with reasons, the queue shows at most 12, a draft saves into Gmail attached to the right thread and no message is ever sent, and Not urgent lowers the sender's next score.3. Landing Page
Build a one-page landing site for the Inbox Zero Agent, an inbox triage assistant for Gmail. Hero: "Your inbox, minus the triage." Sub: "See the few threads that need you today, with a draft reply in your voice waiting in Gmail. It never sends anything for you." One button: Join the waitlist. Sections: a sample queue with three threads, each with a reason, how it works in four steps (connect, rank, draft, you send), a plain box saying what it never does (send, archive or delete), and an FAQ on what is stored (summaries, not message bodies), why access is limited while Google reviews the app and when Outlook comes. Waitlist: store the email in a waitlist table in Supabase. No other service. Style: Geist, a clean off-white background, near-black type, one blue accent. Done when: the page renders on a phone and a submitted email appears in the waitlist table.
4. Branding Package
Use a design or image tool for this one. A coding agent cannot draw a logo. Brand for the Inbox Zero Agent: pick a short name (the working name is InboxZen), then design a wordmark and an icon that suggest an envelope with a short, ranked list inside it. Colors: off-white, near-black and one blue. Type: Geist. Deliverables: wordmark, icon, three priority chips (reply now, reply today, can wait) that differ by shape as well as color, and one launch graphic built from the queue. Done when: each deliverable is saved in one folder and the priority chips are distinguishable without color.