Skip to main content

Gmail Send Message

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

DESTRUCTIVEgoogle.gmail_send_message
  • Contract tier: agent_ready
  • Risk: destructive
  • Catalog version: google-2026.07.12.2
  • Descriptor hash: 6bb0c9a6da24bfa2b5d74ab9d255bff599e0b167c4316c3e33cce37e9c10fe31

Use this Gmail irreversible send tool only when the user explicitly approves sending. It sends a message from the authenticated mailbox. It can overwrite, send, move, remove, or permanently delete Google data. Use it only after preview and the manifest-defined confirmation; it requires per-request Google OAuth.

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",
"is_html": false,
"reply_to": "reply_to_example",
"thread_id": "thread_id_123",
"from_alias": "from_alias_example"
}
}
}

Arguments Schema

{
"type": "object",
"title": "gmail_send_messageArguments",
"required": [
"to",
"subject",
"body"
],
"properties": {
"cc": {
"type": "string",
"title": "Cc",
"default": "",
"description": "Optional CC recipients."
},
"to": {
"type": "string",
"title": "To",
"description": "Recipient email address list accepted by Gmail."
},
"bcc": {
"type": "string",
"title": "Bcc",
"default": "",
"description": "Optional BCC recipients."
},
"body": {
"type": "string",
"title": "Body",
"description": "Email body content."
},
"is_html": {
"type": "boolean",
"title": "Is Html",
"default": false,
"description": "Set true when email body is HTML."
},
"subject": {
"type": "string",
"title": "Subject",
"description": "Email subject line."
},
"reply_to": {
"type": "string",
"title": "Reply To",
"default": "",
"description": "Optional Reply-To header."
},
"thread_id": {
"type": "string",
"title": "Thread Id",
"default": "",
"description": "Gmail thread ID."
},
"from_alias": {
"type": "string",
"title": "From Alias",
"default": "",
"description": "Optional configured Gmail send-as alias."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the local or Google provider operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Bounded local navigation or Google provider result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe timing, pagination, cache, request, and truncation metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe structured error when ok is false."
}
},
"description": "Google MCP normalized operation envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/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",
"is_html": false,
"reply_to": "reply_to_example",
"thread_id": "thread_id_123",
"from_alias": "from_alias_example"
}
}
}'

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."
}