draft_email_reply
Create a reply DRAFT for an Email Assistant conversation. Never sends. The draft is saved in the farm's Email Assistant (it pre-fills the reply box in QuailOS for that thread) and returns a draftId usable with send_email. Recipient defaults to the other party of the conversation and must be a participant of that thread. Owner/admin read/write AI keys only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Optional recipient address; must already be a participant of this conversation (default: the original sender) | |
| body | Yes | Plain-text reply body (1-20000 chars) | |
| farmId | Yes | The unique farm ID | |
| emailId | Yes | The message being replied to (from list_emails/get_email) | |
| subject | No | Optional subject (default "Re: <original subject>") | |
| showInApp | No | Pre-fill the QuailOS reply box for this thread with the draft (default true; replaces any auto Magic Draft suggestion shown there) | |
| idempotencyKey | No | Optional unique client key; repeating it returns the same draft |