Skip to main content

Gmail Send Message

Snapshot Catalog Entry

This page is generated from broker tools/list snapshot data.

POSTgoogle.gmail_send_message

Send a Gmail message with basic headers.

Request Body

{
"jsonrpc": "2.0",
"id": "google-gmail-send-message-example",
"method": "tools/call",
"params": {
"name": "google.gmail_send_message",
"arguments": {
"to": "to_example",
"subject": "subject_example",
"body": "body_example",
"cc": "cc_example",
"bcc": "bcc_example",
"reply_to": "reply_to_example",
"from_alias": "from_alias_example",
"thread_id": "thread_id_123",
"is_html": false
}
}
}

Arguments Schema

{
"properties": {
"to": {
"type": "string"
},
"subject": {
"type": "string"
},
"body": {
"type": "string"
},
"cc": {
"type": "string"
},
"bcc": {
"type": "string"
},
"reply_to": {
"type": "string"
},
"from_alias": {
"type": "string"
},
"thread_id": {
"type": "string"
},
"is_html": {
"type": "boolean"
}
},
"required": [
"to",
"subject",
"body"
],
"type": "object"
}

Code Examples

curl -X POST 'https://madpanda3d.com/lab/mad-mcps/portal/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "google-gmail-send-message-example",
"method": "tools/call",
"params": {
"name": "google.gmail_send_message",
"arguments": {
"to": "to_example",
"subject": "subject_example",
"body": "body_example",
"cc": "cc_example",
"bcc": "bcc_example",
"reply_to": "reply_to_example",
"from_alias": "from_alias_example",
"thread_id": "thread_id_123",
"is_html": false
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool google.gmail_send_message executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}