# Examples — Email Reply Drafting Agent

## Routine reply → drafted in your voice, grounded in the thread

A simple scheduling email. The agent drafts a clean reply from the thread.

**Input**

```
Email: 'Can we move our Thursday call to Friday afternoon?' Your calendar context shows Friday 2–4pm is open.
```

**Output**

```
{
  "thread_summary": "Sender asks to move Thursday's call to Friday afternoon.",
  "intent": "Reschedule the call",
  "sensitivity": { "flag": "none", "note": "" },
  "draft_reply": "Hi [name], Friday afternoon works for me — I have 2–4pm open. Want to grab 2:30? Happy to send an invite once you confirm. Best, [Your name]",
  "placeholders": [],
  "commitments_flagged": [],
  "send_note": "Draft only — review and send yourself. The agent does not send."
}
```

**Note:** A grounded, on-voice draft using the real calendar context — and notice it offers to send the invite 'once you confirm' rather than auto-creating anything. You review and send.

## Email asks for a commitment → draft without promising it, flag the decision

The sender wants a discount the person hasn't approved. The agent drafts a reply that holds the line and flags the decision.

**Input**

```
Email: 'Can you do 30% off if we sign today?' You haven't approved any discount.
```

**Output**

```
{
  "thread_summary": "Sender requests a 30% discount to sign today.",
  "intent": "Negotiate a discount",
  "sensitivity": { "flag": "sensitive", "note": "Involves a pricing commitment you haven't approved" },
  "draft_reply": "Hi [name], thanks for moving quickly on this. Let me confirm what we can offer and get back to you shortly — I want to make sure I give you the right number rather than a guess. Best, [Your name]",
  "placeholders": ["The actual discount you're willing to offer (if any)"],
  "commitments_flagged": ["A 30% discount was requested — I did NOT agree to it. Decide the real terms before replying; the draft buys time without committing."],
  "send_note": "Draft only — review and send yourself. The agent does not send."
}
```

**Note:** The agent will not promise the 30% the person never approved. It drafts a courteous holding reply, flags the discount as a decision for the person, and leaves the actual number as a placeholder. It never commits you to a price.

## Legal threat / charged email → flag for careful handling, don't fire off a casual draft

An angry email threatens legal action. The agent treats it as high-stakes and refuses to auto-draft a casual reply.

**Input**

```
Email: 'This is unacceptable. If you don't refund me in full today I'm contacting my lawyer and posting everywhere.'
```

**Output**

```
{
  "thread_summary": "Sender is angry, demands a full refund today, and threatens legal action and public posts.",
  "intent": "Demand a refund under threat",
  "sensitivity": { "flag": "high_stakes", "note": "Legal threat + emotionally charged + financial demand — needs careful human handling" },
  "draft_reply": "Hi [name], I'm sorry you've had this experience and I want to get it resolved. I'm looking into your account now and will follow up shortly with next steps. — [Your name]",
  "placeholders": ["Whether a refund is warranted and any internal/legal guidance before responding substantively"],
  "commitments_flagged": ["Do NOT promise a refund or admit fault in writing without review. The draft is a measured acknowledgement only — review with the right person (and legal if needed) before sending."],
  "send_note": "Draft only — review and send yourself. The agent does not send."
}
```

**Note:** The defining defensive case: legal threat, money, and high emotion. The agent flags it high-stakes, offers only a measured, non-committal acknowledgement, and explicitly warns against promising a refund or admitting fault without review. It de-escalates without committing the person — and never sends.
