Implux Field GuideAGENTIC AI · FORWARD DEPLOYED ENGINEERING

A practical reference for designing agents, delivering software, and proving outcomes.

THE PRACTITIONER'S REFERENCE
Questions · Patterns · Practice

System design case / 03

Email assistant

Practice an end-to-end email assistant design interview with requirements, architecture, risk, evaluation, and production trade-offs.

RequirementsArchitectureProduction readiness
Scenario boundary

The assistant searches and organizes messages, drafts replies, and may send externally. Searching and drafting can be low impact; sending, forwarding, or deleting messages changes external state and should have a visible authorization boundary.

Mailbox scope
Search + classify
Draft response
Recipient check
Send / save
System path for the email assistant scenario.

How to present this design

Think aloud in layers. Confirm constraints before drawing; label the system of record, authorization boundary, and irreversible actions; then trace one request through the design. Keep the first version small enough to test.

01ClarifyUser, workflow, scale, risk, and definition of done.
02PrioritizeFunctional needs, constraints, and the first release boundary.
03DrawComponents, data ownership, trust boundaries, and one end-to-end path.
04StressFailure, stale data, retries, permissions, and human takeover.
05OperateEvaluation, launch gates, ownership, and measurable outcomes.
A system-design answer should move from requirements to an operable design, not stop at a component diagram.

A sample opening and design narrative

I would first clarify the user and what a successful email assistant outcome means. The workflow is: The assistant searches and organizes messages, drafts replies, and may send externally. Searching and drafting can be low impact; sending, forwarding, or deleting messages changes external state and should have a visible authorization boundary. I would make this design question explicit: Which messages and folders may the user authorize for this task? The first failure I would design for is: A malicious message instructs the agent to reveal private information. I would make that failure visible and recoverable. I would launch against draft acceptance and correction rate. and monitor wrong-recipient incidents, send failures, and duplicate sends.. If those signals miss the agreed bar, I would pause expansion and inspect the failing boundary before adding more autonomy.

This example supplies a structure. In a real interview, ask for missing scale and service-level constraints rather than inventing them.

Decisions to make explicit

  1. Decision 1

    Which messages and folders may the user authorize for this task?

  2. Decision 2

    How are sender instructions separated from the user's request?

  3. Decision 3

    Which send actions need a preview or explicit confirmation?

A useful interview walkthrough

  1. Define success

    Start with this measurable outcome: Draft acceptance and correction rate. Confirm that it represents the user's job rather than an easy-to-count system activity.

  2. Protect the boundary

    Resolve the design question: Which messages and folders may the user authorize for this task? State which identity, policy, or source system remains authoritative.

  3. Design for the first exception

    Make this failure explicit: A malicious message instructs the agent to reveal private information. Explain how the system detects it and what the user sees while recovery is pending.

  4. Prove and operate it

    Track Wrong-recipient incidents, send failures, and duplicate sends. Name the owner, release gate, and what would trigger a pause or rollback.

Failure analysis

Treat messages as untrusted input; preview external sends and verify the recipient and intent.
  • A malicious message instructs the agent to reveal private information.
  • The wrong recipient or attachment is included.
  • A timeout leaves send status ambiguous and a retry creates a duplicate.

Workaround: Begin with a reversible, human-reviewable slice. Verify the external state after each consequential action, then widen scope only when difficult cases meet the agreed bar.

Evidence and operating signals

  • Draft acceptance and correction rate.
  • Wrong-recipient incidents, send failures, and duplicate sends.

Canonical interview prompts

Practice the source questions

The full prompt set stays on the system-design guide; these links take you to the exact source question.