Get Started

An AI that reads your inbox and drafts replies in your voice, and never sends a thing

Every morning: a one-page digest of what came in and what needs you, plus replies already drafted in the way you actually write, waiting in your Drafts folder for a final read. One Python script, a local model, rules before AI, and a review step that's yours alone. It opens your inbox read-only, so it can't send, delete or even mark anything as read.

90 minIntermediateTools: FreeStep 1 free
A morning digest grouped into needs-reply, invoices, FYI, newsletters, notifications and suspicious, highest priority first
Rules that handle newsletters and notifications for free, so the AI only reads the mail that matters
Reply drafts that copy your own tone from your Sent folder, and mark [CHECK] wherever a fact is missing
  • A review queue: approved drafts land in your Drafts folder, and you press send yourself
  • Prompt-injection protection: emails are treated as data, and "ignore your instructions" mail is flagged
Before you start
01/07Decide what it may touch0 done
STEP 01 of 07~10 min

Decide what it may touch

Read-only for the inbox, write-only for one folder, and no way to send.

  1. This assistant has three jobs and no others:

    • Triage: read new mail and write digest.md (a one-page summary, most urgent first) and triage.csv.
    • Draft: for mail that needs a reply, write a draft in your voice into a local queue/ folder.
    • Review: show you each draft; the ones you approve are added to your mail account's Drafts folder.
  2. And three hard limits, in the code, not the promptthe inbox is opened with readonly=True and messages are fetched with BODY.PEEK, so nothing is marked read; there is no SMTP code, so nothing can be sent; and the only write is an IMAP APPEND to your Drafts folder with the \Draft flag. You send from your normal mail app.

  3. How this differs from [Sort, label and summarise your email with AI](/learn/inbox-autopilot): that mission builds visual n8n workflows that label mail in Gmail. This one is a single Python script you can read in ten minutes, adds replies written in your own style from your Sent folder, and keeps every approval in your hands.

  4. Get the kitinbox-ai.zip has inbox_ai.py, a sample config, a facts file, a style file and six sample emails. kit.md has the setup checklist.

✓
CheckpointYou can name the one place in your mailbox this script is allowed to write.
Stuck? Ask the community
Next mission · Make money with AIFind local businesses that just told the internet they need you
→