Put every inbox reply on one screen
We run ten business inboxes; checking each one every morning just to find the few emails that needed us wasted the morning. Now replies land in one list, AI writes a first draft, and we read it, fix a line and send it ourselves. Nothing goes out without a person.
Start the setup checklist ↓Setup checklist
-
List your inboxes and decide what counts as a reply
- Write down every address. List all ten (or however many) business inboxes you run, including shared team addresses and client accounts.
- Define what counts as a reply. A reply is an incoming message that answers an email you or your team sent out earlier.
- Identify reply headers. A genuine reply has an
In-Reply-ToorReferencesheader pointing to your original message ID, or a subject starting withRe:. - Filter out routine mail. Skip newsletters, marketing promotions, purchase receipts, transaction notices, and automated system alerts.
- Exclude automated robot replies. Drop out-of-office autoreplies and system bounces before they reach your morning list.
-
Choose how replies reach one place
You can achieve this with a simple rule in each mailbox or by polling your inboxes with a small app.
- Option A: No-code forwarding rules. In each inbox, create a filter that forwards incoming replies to one central address, tagging or labelling them by source inbox.
- Beware deprecated POP settings. Google is retiring Gmail's "Check mail from other accounts" (POP) and Gmailify in 2026, so use standard forwarding rules instead of relying on those features.
- Option B: A lightweight IMAP app (what we did). Run a small app that connects to each inbox over IMAP every few minutes to fetch recent messages.
- Filter strictly by reply headers. The app keeps only messages where the
In-Reply-ToorReferencesheader points to a message you sent, or the subject starts withRe:. - Store key details for each reply. Save the sender address, subject line, a short message snippet, the date, and which inbox received the email.
- Show everything in one list. Present the incoming replies from all inboxes on a single clean dashboard screen.
-
Keep the passwords safe
- Never use your primary account password. Generate dedicated app passwords or use OAuth tokens for every mailbox connection.
- Store secrets in environment variables. Keep credentials in environment variables or a secure secret manager; never commit passwords to source code.
- Use OAuth for Microsoft 365. Microsoft has retired basic authentication for IMAP in Exchange Online, so connect using OAuth credentials.
- Enforce read-only access. Where your mail provider permits granular scopes, grant read-only permissions so the tool cannot modify or delete mail.
- Audit and rotate keys. Review your app passwords periodically and revoke any access you no longer require.
-
Add a Draft reply button
Send the reply (and earlier messages in the thread if you keep them) to ChatGPT or Claude with a consistent, fixed prompt. In our hub, clicking the button opens ChatGPT, which reads the reply through a connector (an MCP server we wrote for the hub) and saves the draft back to the hub.
- Set a clear drafting instruction. Tell the model to keep the tone friendly, plain, and free of marketing hype.
- Answer only the question asked. Prevent the model from adding unsolicited advice, pleasantries, or extraneous paragraphs.
- Stop the model from guessing missing facts. Instruct it to write
[CHECK: ...]whenever it lacks essential details like price, date, or availability. - Prohibit unapproved commitments. Ensure the model never promises delivery times, discounts, or terms you have not confirmed.
Email drafting prompt You draft email replies for me. Read the message below and write a short reply in my voice: friendly, plain, no hype. Answer only what they asked. If you would need a fact you don't have (price, date, availability), write [CHECK: ...] instead of guessing. Never promise anything. Message: <paste reply here> -
You send, always
- No automated sending access. Never give your hub, polling app, or AI tool SMTP send access or permission to dispatch emails.
- Copy and review in your mail client. Copy the draft into your normal email app, read it, fix any awkward wording, and send it yourself.
- Prevent hallucinated promises. AI models can guess prices, completion dates, or contractual promises that cost you money and credibility.
- Avoid tone and nuance mistakes. Subtle tone errors can damage client relationships; human review keeps messages authentic and aligned.
- Remain personally accountable. Every email sent from your company carries your name and reputation; you stay in total control.
-
Use Claude Code or Codex to build it
You can have an AI coding assistant scaffold the entire polling tool, header filters, and drafting interface for you to review.
- Open a new project directory. Start an empty folder with your chosen coding tool (such as Claude Code or OpenAI Codex).
- Paste the complete agent prompt. Provide your list of IMAP inboxes and specify the exact parsing and safety constraints.
- Confirm send mechanisms are omitted. Double-check that no SMTP transport or automated sending modules are included in the code.
- Include automated tests. Verify that sample test cases correctly parse replies while filtering out newsletters and bounces.
Agent build prompt Build a small web app that connects to these IMAP inboxes [list], checks them every 5 minutes, keeps only replies to messages I sent (In-Reply-To/References, or Re: subject), skips auto-replies (Auto-Submitted header) and bounces, and shows one list: inbox, sender, subject, snippet, time. Add a 'Draft reply' button that sends the reply text to an AI model with my drafting prompt and shows the draft with a Copy button. It must never send email. Store credentials in environment variables. Add a test with two sample replies and one newsletter. -
Troubleshoot
- IMAP turned off or rejected. Enable IMAP in your provider's web settings and generate a dedicated app password rather than using your main account password.
- Duplicate entries appearing. Record the unique
Message-IDheader of each parsed email in your database or local store and skip messages you have already processed. - Missed replies with edited subjects. If a client deletes or edits the subject line, subject checks will fail; ensure your app also inspects the
ReferencesandIn-Reply-Toheaders. - Out-of-office and bounce noise. Filter out messages containing an
Auto-Submittedheader (e.g.auto-replied) and discard messages frommailer-daemonorpostmaster. - Drafts that guess facts. If the AI invents dates or prices, reinforce the
[CHECK: ...]instruction in your drafting prompt to ensure it flags gaps rather than guessing.
Questions about this checklist? Send us a message.