Skip to main content
FuseFuse
IntegrationsGoogle workspaceActions

Send Gmail message

Send a small text or HTML email as the connected Google principal.

Agent markdown

gmail.messages.send · Google Workspace · v1

Details

Risk
Write
Idempotency
Unsafe
Availability
Default
Exposure
REST, SDK, MCP
MCP hints
readOnly=false, destructive=false, idempotent=false, openWorld=true

Scopes

  • https://www.googleapis.com/auth/gmail.send

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false; oneOf branch 1: required body / branch 2: required body_html
tostringYesminLength 3; maxLength 320; pattern ^[^\u0000-\u001F\u007F]+$
subjectstringYesminLength 1; maxLength 998; pattern ^[^\u0000-\u001F\u007F]+$
bodystringNominLength 1; maxLength 24576
body_htmlstringNominLength 1; maxLength 24576
ccstringNominLength 3; maxLength 320; pattern ^[^\u0000-\u001F\u007F]+$
bccstringNominLength 3; maxLength 320; pattern ^[^\u0000-\u001F\u007F]+$

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
idstringYesminLength 1; maxLength 256
thread_idstringYesminLength 1; maxLength 256

Raw schema

Input
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "to": {
      "type": "string",
      "minLength": 3,
      "maxLength": 320,
      "pattern": "^[^\\u0000-\\u001F\\u007F]+$"
    },
    "subject": {
      "type": "string",
      "minLength": 1,
      "maxLength": 998,
      "pattern": "^[^\\u0000-\\u001F\\u007F]+$"
    },
    "body": {
      "type": "string",
      "minLength": 1,
      "maxLength": 24576
    },
    "body_html": {
      "type": "string",
      "minLength": 1,
      "maxLength": 24576
    },
    "cc": {
      "type": "string",
      "minLength": 3,
      "maxLength": 320,
      "pattern": "^[^\\u0000-\\u001F\\u007F]+$"
    },
    "bcc": {
      "type": "string",
      "minLength": 3,
      "maxLength": 320,
      "pattern": "^[^\\u0000-\\u001F\\u007F]+$"
    }
  },
  "required": [
    "to",
    "subject"
  ],
  "oneOf": [
    {
      "required": [
        "body"
      ]
    },
    {
      "required": [
        "body_html"
      ]
    }
  ]
}
Output
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "thread_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    }
  },
  "required": [
    "id",
    "thread_id"
  ]
}