Gmail get email

gmail__get_email

Access

Requires a project integration connection for gmail.

Call type: Can read or manage credentials.

Arguments

FieldTypeRequiredDescription and constraints
messageIdstringYesEmail message ID
formatstringNoFormat: full, metadata, minimal, raw
metadataHeadersstring[]NoHeaders to include when format is metadata, e.g. From, To, Subject, Date

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "gmail__get_email",
    "arguments": {
      "messageId": "example"
    }
  }
}

Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the gmail integration reference for provider setup and tool context.

Full schemas

json
{
  "type": "object",
  "properties": {
    "messageId": {
      "type": "string",
      "description": "Email message ID"
    },
    "format": {
      "type": "string",
      "description": "Format: full, metadata, minimal, raw"
    },
    "metadataHeaders": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "One metadata header item supplied to the tool."
      },
      "description": "Headers to include when format is metadata, e.g. From, To, Subject, Date"
    }
  },
  "required": [
    "messageId"
  ],
  "description": "Arguments for the gmail__get_email tool."
}