claude-code - 💡(How to fix) Fix Gmail MCP Connector: add threadId support to create_draft so Claude can reply within existing email threads

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Fix Action

Fix / Workaround

Currently the only workaround is to open Gmail manually, find the thread, hit Reply, and paste in the draft Claude created. This defeats much of the purpose of having Claude draft emails on your behalf.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing requests and this feature hasn't been requested yet
  • This is a single feature request (not multiple features)

Problem Statement

When Claude uses the built-in Cowork Gmail connector to create a draft email, it has no way to attach the draft to an existing thread. Every draft Claude creates appears as a new standalone email, even when it is clearly intended as a reply to an ongoing conversation. This breaks the workflow for any email follow-up task.

Proposed Solution

Add a threadId parameter to the create_draft tool in the Gmail MCP connector. The Gmail API already supports this natively — passing a threadId along with In-Reply-To and References headers is all that is needed for the draft to land correctly inside an existing thread, exactly as it would if a user hit Reply in Gmail.

Alternative Solutions

Currently the only workaround is to open Gmail manually, find the thread, hit Reply, and paste in the draft Claude created. This defeats much of the purpose of having Claude draft emails on your behalf.

Priority

High - Significant impact on productivity

Feature Category

MCP server integration

Use Case Example

I asked Claude to draft a reply to my lawyer in an existing email thread. Claude created the draft correctly but it landed as a new standalone email rather than a reply in the thread. I had to manually copy the draft text and paste it as a reply in Gmail. This happens every time Claude drafts a reply to any ongoing conversation.

Additional Context

This is a small, well-scoped change on the API side. The Gmail API drafts.create endpoint already accepts threadId — it just needs to be exposed in the MCP tool schema. Third-party Gmail MCP servers (e.g. CharlesAD/gmail-mcp-server-claude) already implement this pattern successfully.

extent analysis

TL;DR

Add a threadId parameter to the create_draft tool in the Gmail MCP connector to enable attaching drafts to existing email threads.

Guidance

  • Review the Gmail API documentation to confirm the threadId parameter requirements for the drafts.create endpoint.
  • Update the MCP tool schema to expose the threadId parameter, allowing users to specify the thread ID when creating a draft.
  • Test the updated create_draft tool with a valid threadId to verify that the draft is attached to the correct thread.
  • Consider reaching out to third-party Gmail MCP server maintainers (e.g., CharlesAD/gmail-mcp-server-claude) for guidance on implementing this feature, as they have already successfully implemented this pattern.

Example

No code snippet is provided, as the issue does not include specific code examples. However, the proposed solution suggests updating the create_draft tool to accept a threadId parameter, which can be used to attach the draft to an existing thread.

Notes

The implementation of this feature may require additional error handling and validation to ensure that the threadId parameter is correctly formatted and valid.

Recommendation

Apply the proposed workaround by adding a threadId parameter to the create_draft tool, as this is a well-scoped change with a clear solution path.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Gmail MCP Connector: add threadId support to create_draft so Claude can reply within existing email threads