> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vsyble.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Save a reply draft

Save a plain-text reply for human review in Vsyble. Read the latest incoming email with get\_thread or get\_email first. Use its exact message ID and a new request UUID; reuse the UUID only when checking an uncertain save of the same draft. Existing drafts are preserved. Requires vsyble.drafts and never sends email.

**Tool:** `inbox_write` · **Method:** `replies_draft`

Hosted OAuth MCP only. This operation is unavailable to API keys.

Hosted OAuth only. Read the latest incoming email first and keep its exact messageId. Generate a new requestId for a new draft; retain the UUID and identical body only to check an uncertain save. Existing drafts are preserved. Vsyble resolves the recipient; this operation never sends.

## Example

All IDs, addresses and revisions below are illustrative. Replace them with values read from your workspace.

```json theme={null}
{
  "name": "inbox_write",
  "arguments": {
    "method": "replies_draft",
    "thread": {
      "account_id": "mailbox-id",
      "thread_id": "thread-id",
      "provider": "gmail"
    },
    "messageId": "incoming-message-id",
    "body": "Thanks, Jordan. I can send those specifications today.",
    "requestId": "11111111-1111-4111-8111-111111111111"
  }
}
```

## Inputs

| Field | Type | Requirement | Details |
| - | - | - | - |
| `organizationId` | string | Optional | Workspace ID. Omit to use your current workspace. Format: uuid. |
| `thread` | object | Required | |
| `thread.account_id` | string | Required | Minimum length: 1. Maximum length: 500. |
| `thread.thread_id` | string | Required | Minimum length: 1. Maximum length: 500. |
| `thread.provider` | gmail / outlook / instantly | Required | |
| `messageId` | string | Required | Minimum length: 1. Maximum length: 500. |
| `body` | string | Required | Minimum length: 1. Maximum length: 30000. |
| `requestId` | string | Required | Format: uuid. |

For MCP, add `method: replies_draft` alongside these fields.

Fields inside an optional object are required only when that object is provided. Do not send fields from a different method.

## Result

MCP returns the following projected schema as structured content and JSON text.

> [accordion] Response schema
>
> ```json theme={null}
> {
>   "$schema": "https://json-schema.org/draft/2020-12/schema",
>   "type": "object",
>   "properties": {
>     "organizationId": {
>       "type": "string",
>       "format": "uuid",
>       "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
>     },
>     "thread": {
>       "type": "object",
>       "properties": {
>         "account_id": {
>           "type": "string",
>           "minLength": 1,
>           "maxLength": 500
>         },
>         "thread_id": {
>           "type": "string",
>           "minLength": 1,
>           "maxLength": 500
>         },
>         "provider": {
>           "type": "string",
>           "enum": [
>             "gmail",
>             "outlook",
>             "instantly"
>           ]
>         }
>       },
>       "required": [
>         "account_id",
>         "thread_id",
>         "provider"
>       ],
>       "additionalProperties": false
>     },
>     "messageId": {
>       "type": "string"
>     },
>     "revision": {
>       "type": "integer",
>       "exclusiveMinimum": 0,
>       "maximum": 9007199254740991
>     },
>     "reviewUrl": {
>       "type": "string",
>       "format": "uri"
>     }
>   },
>   "required": [
>     "organizationId",
>     "thread",
>     "messageId",
>     "revision",
>     "reviewUrl"
>   ],
>   "additionalProperties": false
> }
> ```

[Download input schema](https://docs.vsyble.com/schemas/replies_draft.input.json) · [Download MCP response schema](https://docs.vsyble.com/schemas/replies_draft.output.json)

See [permissions](https://docs.vsyble.com/security/permissions.md), [errors and recovery](https://docs.vsyble.com/api/errors.md), and [sending approval](https://docs.vsyble.com/security/sending.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.