Design an approval pattern for an AI assistant that can draft and send emails.

Instruction: Keep draft creation separate from sending. Bind approval to the exact message and account that will be used.

Context: Design an email assistant where a user can inspect a draft and approve its final recipients, content, and attachments before transmission.

Updated

Official answer available

Read the opening below, then unlock the full answer and practical guidance.

I would make drafting reversible and sending a separate capability. A draft record holds the sender account, To/Cc/Bcc recipients, subject, body, and attachment references. The assistant presents those fields clearly before asking for a send decision.

Approval would identify that draft version and its content hash...

Your preparation path

Work through these questions in order. Read the answer aloud, then explain it in your own words.

Related Questions