The first week with an email agent, day by day

The technical setup takes an afternoon. The week after it is what decides whether the agent survives, and almost all of the value in that week comes from a single unglamorous habit: reading what it actually sent.

5 min read

A week of agent threads being read and corrected
The setup is an afternoon. The reading is the project.

Here is that week, laid out. It assumes you have picked one narrow category of real mail, which is the only prerequisite that matters.

Day one: make it reachable and boring

Create the identity, put it in whitelist mode, and give it a system prompt with explicit escalation triggers. Connect it over MCP or the SDK, register a message.received webhook, and send yourself one message and one reply so you have seen the thread from both sides.

Two things to resist. Do not connect it to your published support address, and do not give it tools it will not need this week. Every capability you add now is one you will have to reason about when something goes wrong on Thursday.

Finish the day by deciding, in one sentence each, what it handles and what it escalates. If you cannot write those two sentences, you are not ready for day two.

Day two: point one category at it

Forward a single narrow category of real mail: order status questions, invoice replies, interview scheduling. Reversible in a click, per deciding what reaches your agent.

Then watch the first ten threads live rather than in a batch. This is the only day where watching in real time is worth your attention, because the failures on day two are structural: it answered the last message instead of the thread, it did not look the sender up, the webhook fired twice.

Fix those in code, not in the prompt. They are integration bugs wearing prompt clothing.

Day three: read everything and write it down

Read every thread from yesterday, end to end. For each reply, note one of four things:

  • Would have sent it myself. No action.
  • Right answer, wrong tone. Prompt fix.
  • Wrong answer. Grounding fix, and usually a missing escalation trigger.
  • Should not have answered at all. Rule fix, in tooling rather than in prose.

The distribution matters more than any individual note. A pile of tone fixes is a prompt problem you can solve in an hour. Two wrong answers is a grounding problem that needs a tool or a rule, and one that will not improve by asking the model to be careful.

Day four: fix the systematic, ignore the individual

Change the prompt once, for the patterns you saw at least twice. Resist rewriting it around a single bad reply, which is how prompts become long, contradictory, and worse.

Anything money-shaped or irreversible goes into tooling instead: a limit the tool refuses past, not a limit the prompt requests. The distinction, and why it holds, is in keeping an autonomous agent from becoming a spam problem.

Then add each failure you saw to a golden thread suite, so tomorrow's fix cannot silently undo today's, per evaluating an email agent.

Sorting a week of replies into tone, grounding, and rule fixes
Fix what happened twice. Ignore what happened once.

Day five: check the plumbing, not the prose

A short list, all of which are quick and none of which you will do later if you skip them now.

  1. Authentication on a real delivered message, not just the DNS. SPF, DKIM, and DMARC.
  2. Idempotency: deliver the same webhook twice and confirm one reply.
  3. Refusal handling: simulate daily_send_quota_exhausted and recipient_suppressed and confirm the agent waits or escalates rather than retrying.
  4. The kill switch: revoke a test key and confirm the agent stops.
  5. Threading: exchange three messages and check References on the third, per how email threading works.

Day six and seven: leave it alone

Let the weekend happen. What you are looking for on Monday is not more replies, it is what happened without you: whether anything got stuck, whether the queue drained, whether a thread ran past a sensible number of turns.

Set the alerts before you go: first send to a new domain, volume moving sharply either way, any bounce or complaint. The full list is in what to monitor in production.

Monday: decide what it gets next

Four numbers, honestly:

NumberWhat it tells you
Threads resolved without a humanWhether it is doing the job
Threads reopened by the senderWhether the resolutions were real
Replies a human had to correctWhether grounding is tight enough
Escalations that did not need a personWhether the rules are too tight

Strong first week: high resolution, near-zero corrections, escalations that were mostly justified. Widen the category and repeat the week.

Weak first week: corrections above a couple of percent, or reopens climbing. Do not widen. The agent is answering questions it cannot ground, and adding volume multiplies the problem rather than revealing it.

Either way, keep the weekly read of fifteen threads permanently. It is the habit that replaces the intensity of week one, and it is the one thing no dashboard does for you.

Questions

How long does it take to set up an AI email agent?
An afternoon for the technical setup. The week of reading its threads afterwards is what decides whether it works, and it is not optional.
What should the agent handle first?
One narrow category of real mail, forwarded rather than redirected, so the change is reversible in a click. Order status, invoice replies, and scheduling are the usual starting points.
What should I look at on day three?
Every thread from day two, sorting each reply into: would have sent it, tone fix, grounding fix, or should not have answered. The distribution tells you what kind of problem you have.
When should I widen its remit?
When resolutions hold without reopens and corrections stay near zero for a full week. Widening while corrections are high multiplies a problem rather than revealing it.
What if it gets something badly wrong?
Roll that category back to human handling. It is a normal, reversible decision, and treating it that way is what makes the whole project safe to attempt.
What survives the first week?
The weekly read of about fifteen threads per agent. Everything else becomes automated; that one does not, and it is where drift gets caught.

Give your agent an address it can answer from.

Create an inbox