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

# Draft Reply

> Create an unsent reply draft for a Gmail message.

The **Draft Reply** action prepares a reply in Gmail without sending it. It
keeps the original subject and conversation headers, so a reviewer can finish
or send the response from Gmail.

## Inputs

| Input                   | Type                   | Required | Description                                                    |
| ----------------------- | ---------------------- | -------- | -------------------------------------------------------------- |
| **Third-party account** | Google account         | Yes      | Gmail account that owns the draft.                             |
| **Message ID**          | String                 | Yes      | Gmail ID of the message being answered.                        |
| **Reply All**           | Boolean                | No       | Include original `To` and `CC` recipients except this account. |
| **Body**                | String                 | No       | Draft reply content. Defaults to empty.                        |
| **Body Type**           | `Plain Text` or `HTML` | No       | Body encoding. Defaults to **Plain Text**.                     |
| **Attachments**         | List of files          | No       | Files to attach to the draft.                                  |

## Outputs

| Output               | Type   | Description                             |
| -------------------- | ------ | --------------------------------------- |
| **Reply Message ID** | String | Identifier for the created reply draft. |

<Warning>
  When **Reply All** is enabled, the finished draft includes original `To` and
  `CC` recipients other than the connected account. Review the recipients before
  sending.
</Warning>

## Example: human-review support reply

```text theme={null}
New Email
  → Generate suggested response
  → Gmail: Draft Reply
  → Notify support agent
```

## Troubleshooting

<AccordionGroup>
  <Accordion title="The draft is not threaded">
    Supply the Gmail Message ID for the message being answered. The action needs
    that message's thread and RFC reply headers to construct the draft.
  </Accordion>
</AccordionGroup>
