Recipes / Guides / AI email agents

15 setups · Gmail, Outlook, IMAP and n8n

AI email agents: how to set one up, with 15 real inbox setups

Last updated · by Thomas, editor · How we verify

An AI email agent reads new mail, sorts it and writes drafts, and a person sends. Below: how to set one up in six steps, then 14 inbox agents people run. They differ in what triggers them, which tools they use, and how much they're trusted to do alone.

Each recipe links to the original post or workflow and lists exactly where it has to stop and ask.

Screenshot of the agent's report: Adobe cancelled the duplicate plan and agreed a full £580.35 refund (case number blurred)
An inbox agent at work: Stef's agent found a duplicate Adobe plan in his email receipts and old Adobe threads, then pushed support for a refund. His screenshot of its report. See the recipe →

How to set one up

  1. Connect the inbox trigger: Gmail or Outlook in n8n, or your agent's email tool. (recipe)
  2. Filter out your own address so the agent's replies don't trigger it again. (recipe)
  3. Paste a classifier prompt that returns a category, a confidence score, a summary and a draft (starter below). (recipe)
  4. Route by category: log every email to a sheet, save replies as drafts, and catch output that fits no category. (recipe)
  5. Run it on last week's mail, or in list-only mode, and check for false positives. (recipe)
  6. Keep drafts. Allow auto-send only for one narrow, low-risk category after two weeks of clean drafts. (recipe)

Starter prompt: inbox classifier (our version, from the Outlook triage recipe)

For each new email, return JSON only: {"category": "lead|quote|invoice|support|spam|ooo", "confidence": 0-1, "customer": "", "service": "", "summary": "one line", "draft_reply": "in our tone, under 120 words", "follow_up_days": [2,5] or [], "send": false} Rules: "send" may be true only if confidence >= 0.85 AND the email mentions no money, complaints or legal terms. Never invent prices or dates. Use the thread history if present.

Step-by-step guide: how to build an AI email agent →

What can an AI email agent do for a small business?

Sort and route. An n8n build made for an HR consultancy's inbox (its repo now calls it a portfolio demo) sorts every email into candidate, client or spam, auto-replies to candidates and saves client replies as drafts with a Slack alert. The consulting inbox

File and hand off. An HVAC controls company's mail bot reads a Rackspace mailbox over IMAP and routes each email to bots for jobs, purchase orders, invoices, receipts and alarms. The HVAC office bots

Draft quotes. A one-person print shop's Grok Bot tidies the inbox each morning and drafts replies to sticker enquiries from his own price pages; customer replies stay drafts. The print shop

Can an AI email agent chase refunds and disputes for me?

Several here do it from the inbox. One read every email with a suspicious seller, built the evidence and pushed until the order was refunded (recipe). Another compared a year of medical bills with EOBs and drafted refund requests to the providers (recipe). The full set is on our AI refund agents page.

How do I stop an email agent from making mistakes?

Start in list-only or draft mode, so you catch false positives before anything moves. The inbox sweep lists what it would remove first.

Filter out your own address so replies don't loop (recipe), stop follow-ups the moment a customer replies, and log anything the model couldn't categorize (recipe).

Which one fits your inbox

What each email agent does, and what it's allowed to do without you.

Details come from each recipe's source. Setup time is shown only where the recipe states it.

Sort and draft

Classify every new email and prepare replies.

Any agentFull setup

Route a firm's inbox: candidates, clients, spam

Job candidates get an instant auto-reply, client emails get a drafted reply saved for review plus a Slack alert, and spam gets labeled. Everything is logged to Google Sheets.

1–2 daysvia Reddit
Any agentFull setup

Classify, draft and follow up on a small-business inbox

An agency owner's single inbox gets an AI layer that sorts every message, drafts or sends replies, schedules lead and invoice nudges, and logs everything to a sheet.

1–5 daysvia Blog
Grok BotRoutine

Morning inbox sweep for a category you never want

A 6am routine clears out one category of mail he never wants. Our version labels and archives instead of deleting, with a weekly undo list.

10 minvia X
Grok BotFull setup

Grok Bot back-office team for an HVAC firm

The co-owner of an HVAC and building controls company with about 10 employees runs about two dozen Grok Bots for work and family. At work, a mail bot files and routes every email to specialist bots for the job tracker, POs, invoices, receipts, alarms, insurance certificates, submittals and bids, and nothing goes out under his name without his OK.

Not stated; he tunes the bots in plain English as he goesvia Reddit
Grok BotFull setup

Grok Bot admin team for a one-person print shop

A self-employed print shop owner in New Zealand, a few days into Grok Bot, runs bots for a morning brief, customer reply drafts priced from his own site, receipt hunting for the bookkeeping, inbox tidying, marketing drafts and a finance manager that broke down margins and subscriptions.

Not stated; he was only a few days in when he postedvia Reddit
Grok BotRoutine set

8 Grok Bots for a forklift driver's email, budget and chores

He runs eight Grok Bots, each with one job: a shopper, a forklift work companion, a general assistant, an email bot, a diet tracker, a budget bot, a household bot and a Mac-connected assistant. They share connections and pass work between them, and he keeps approval with himself. For the household bot, he says nothing leaves the chat without his approval.

Not stated. He says it took a while to work out what was actually helpfulvia Reddit

Leads and sales

Turn conversations into follow-ups.

Briefings and disputes

Read across threads and act for you, with your sign-off.

Any agentRoutine set

PM assistant: morning brief and meeting prep

A full-time PM connected an assistant to email, calendar and Slack and set up four skills that reportedly save 1–1.5 hours a day.

2 hoursvia Reddit
Grok BotSkill

Suspicious online order → evidence file + refund push

After a dog-house order felt off, the poster's Grok Bot reviewed the emails, gathered proof the seller wasn't authorized, and worked the back-and-forth until the order was canceled and refunded.

15 min to start, then a few days of follow-upvia X
Grok BotWorkflow

~$3K medical overpay found by a Grok Bot

She gave her Grok Bot the year's medical bills, EOBs, receipts and coverage. It found she had overpaid one provider almost $3,000, spotted several double bills and claims that weren't submitted correctly, and wrote refund requests with the documentation attached.

Gathering the year's bills and EOBs, then a review pass and refund requests you approvevia X
Grok BotWorkflow

$2,500 off insurance via a Grok Bot

His bot reminded him his home insurance was renewing at a higher price, found a much better quote, and called his current insurer with xAI voice. The insurer dropped his annual renewal by $2,500.

He says 10 minutes in totalvia X
Grok BotRoutine

$735 owed found by a Payback Grok Bot

She built a Grok Bot called Payback that runs weekly passes for trials about to go paid, duplicate subscriptions, price increases on recurring bills and Amazon return credits, then helps her get the money back. She says its first pass found $735.48.

Set up once; then you check its finds and send the asks it draftsvia X
Grok BotFull setup

Kitchen iPad family dashboard via Grok Bot

He turned his kid's old iPad into a family dashboard on the kitchen counter: a shared calendar, chore charts where the kids earn stars, a learning tab, house maintenance, sports and date-night ideas. Grok built the web app, Grok Bot hosts it on Cloudflare's free tier, puts calendar events on it and surfaces notices it finds in his email, like boil-water notices, deliveries and school events.

Not stated; he started from two messages on Oct 23 and has kept adding tabs sincevia Reddit

How to choose

Common questions

What is an AI email agent?

An agent connected to your inbox that reads new mail, sorts it and drafts replies. Here it runs as an n8n workflow on Gmail or Outlook, or as a Grok Bot routine, and a person sends anything that matters.

Can an AI agent answer my email automatically?

These setups mostly don't. They classify and draft, and a person sends. The Outlook build allows auto-send only for one narrow, low-risk category after two weeks of clean drafts.

Gmail or Outlook?

Both appear here: the n8n consulting build and the Grok Bot setups use Gmail, and the triage workflow uses Outlook through the Graph API. The HVAC controls team reads a Rackspace mailbox over IMAP, with a small script that wakes the bot when mail arrives.

Is there an AI that can send emails?

Yes, but most setups here hold back. The consulting build auto-replies to job candidates on its own. The Outlook build auto-sends only one narrow, low-risk category, and only after two weeks of clean drafts. Lara Kimbrell had her Grok Bot write and send refund emails to medical providers. Everything else on this page drafts, and a person sends.

Get the next money recipe. Free.

New recipes every week, plus the top 10 agent setups pack. One email, no spam.

Unsubscribe anytime. Privacy

More guides: Make money with AI agents · AI voice agent business · AI agent agency ideas · Claude Code use cases · Grok Bot use cases · Claude Code vs Codex · AI agents for small business · AI code review agents · Parallel coding agents · AI agents that save you money · AI refund agents · Autonomous agents that made money · AI agents for content creators · AI research agents