Reply as a draft
reply_draftCompose a reply draft for an email: automatically sets thread context, Re: subject, recipients, and quote, then saves it to Drafts without sending.
Instructions
Saves a reply to a specific message into Drafts, in the same thread: In-Reply-To/References, "Re:" subject, recipients (sender, or everyone with reply_all) and the quoted original are set by the server. Use this whenever the owner says "reply / answer / write a draft" ("odpověz", "napiš koncept"). Nothing is sent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | uid of the message being answered (from search_messages / get_message / get_thread) | |
| html | No | Optional HTML version of the reply body | |
| lang | No | Language of the "On … wrote:" line (default: guessed from the reply) | |
| text | Yes | The reply itself, plain text, without greeting-to-quote artefacts; the original is quoted automatically | |
| quote | No | Quote the original under the reply (default true) | |
| folder | No | Folder/label path. Defaults to All Mail on Gmail, INBOX elsewhere. | |
| account | Yes | Account id from list_accounts | |
| reply_all | No | Reply to every recipient of the original (default: sender only) | |
| attachments | No |