gmail_send

Pack: gmail · Endpoint: https://gateway.pipeworx.io/gmail/mcp

Send an email with recipient, subject, and body text. Optionally add CC, BCC, reply-to address, and file attachments.

Parameters

NameTypeRequiredDescription
tostringyesRecipient email address
subjectstringyesEmail subject line
bodystringyesEmail body text (plain text)
ccstringnoCC recipients (comma-separated email addresses)
bccstringnoBCC recipients (comma-separated email addresses)

Example call

Arguments

{
  "to": "[email protected]",
  "subject": "Meeting Request",
  "body": "Hi Alice,\n\nWould you be available for a meeting next Tuesday?"
}

curl

curl -X POST https://gateway.pipeworx.io/gmail/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"gmail_send","arguments":{"to":"[email protected]","subject":"Meeting Request","body":"Hi Alice,\n\nWould you be available for a meeting next Tuesday?"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('gmail_send', {
  "to": "[email protected]",
  "subject": "Meeting Request",
  "body": "Hi Alice,\n\nWould you be available for a meeting next Tuesday?"
});

More examples

{
  "to": "[email protected]",
  "subject": "Project Update",
  "body": "Here's the latest status on the project.",
  "cc": "[email protected]"
}

Response shape

FieldTypeDescription
idstringID of sent message
threadIdstringThread ID of sent message
labelIdsarrayLabel IDs applied to sent message
errorstringError code if connection not authenticated
messagestringError message if connection not authenticated or send failed
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "ID of sent message"
    },
    "threadId": {
      "type": "string",
      "description": "Thread ID of sent message"
    },
    "labelIds": {
      "type": "array",
      "description": "Label IDs applied to sent message",
      "items": {
        "type": "string"
      }
    },
    "error": {
      "type": "string",
      "description": "Error code if connection not authenticated"
    },
    "message": {
      "type": "string",
      "description": "Error message if connection not authenticated or send failed"
    }
  }
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "gmail": {
      "url": "https://gateway.pipeworx.io/gmail/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026