Skip to content

Feature request: first-class reply and forward support for Gmail #88

@malob

Description

@malob

Really excited to see this project. An official Google Workspace CLI and MCP server from Google is something a lot of people, including myself, have been hoping would exist for a long time. I think there's a real opportunity here to solve a gap that's plagued the Gmail integration ecosystem along with it.

When working with Gmail with AI agents through MCP or CLI tools, there's a gap that seems like it should have been solved by now but hasn't: you can read email, you can compose new email, but replying and forwarding, arguably the two most common email actions, aren't supported as first-class operations anywhere.

To reply to a message today, the agent or caller has to fetch the original message, extract Message-ID, References, and threadId from the headers, construct a properly threaded RFC 2822 message with the right In-Reply-To and References headers, base64-encode it, and send it through the raw messages.send endpoint. It's doable, but agents really struggle with it, and but it's exactly the kind of thing a tool should handle for you.

I've looked at this across all the established Gmail/Google Workspace integrations — taylorwilsdon/google_workspace_mcp (~1.7k stars), GongRzhe/Gmail-MCP-Server (~1k stars), Anthropic's first-party Gmail connector, and gws itself. None of them support reply or forward as a simple operation. There are a handful of smaller repos that claim to, but I'm not particularly keen to route my email through a random 3-star integration.

gws seems like the right place for this. It's the official Google Workspace CLI, it ships an MCP server, and the existing helpers (+send, +triage) already show the pattern. The things I'd want:

  • Reply to a message — give it a message ID and a body, threading handled automatically
  • Reply-all — same, but to all original recipients
  • Forward — send an existing message (with attachments) to one or more recipients.
  • Some ergonomic way to add/remove recipients when replying — add a CC, drop someone from the thread, etc. — without having to reconstruct the whole recipient list from scratch

Basically everyone I've talked to who uses MCP servers or CLI tools to help them work with their email has this same pain point. Reply and forward are what people do with email all day, every day, and right now there's no good way to do either of them through any of the major/popular integrations. If gws shipped this, it would make a lot of people really happy :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions