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
| Name | Type | Required | Description |
|---|---|---|---|
to | string | yes | Recipient email address |
subject | string | yes | Email subject line |
body | string | yes | Email body text (plain text) |
cc | string | no | CC recipients (comma-separated email addresses) |
bcc | string | no | BCC 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
| Field | Type | Description |
|---|---|---|
id | string | ID of sent message |
threadId | string | Thread ID of sent message |
labelIds | array | Label IDs applied to sent message |
error | string | Error code if connection not authenticated |
message | string | Error 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.