Gmail
Email Read
Read one email's full contents from a connected Gmail/Outlook account.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| senderstring · required | string | required | Connected email account identifier that received (or sent) the email — typically the email address (e.g. "you@company.com"). Must be a connected account in the workspace. Example: |
| emailstring · required | string | required | The other party's email address used to look up the specific email in the account (e.g. the sender's address if you are the recipient). The tool resolves this to the specific message. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"id",
"subject",
"from",
"to",
"date",
"body",
"isRead"
],
"properties": {
"cc": {
"type": "array",
"items": {
"type": "string"
}
},
"id": {
"type": "string"
},
"to": {
"type": "array",
"items": {
"type": "string"
}
},
"bcc": {
"type": "array",
"items": {
"type": "string"
}
},
"body": {
"type": "string",
"description": "Email body content (HTML or plain text)"
},
"date": {
"type": "string"
},
"from": {
"type": "string"
},
"note": {
"type": "string"
},
"isRead": {
"type": "boolean"
},
"subject": {
"type": "string"
},
"fromName": {
"type": "string"
},
"threadId": {
"type": "string"
},
"bodyPlain": {
"type": "string",
"description": "Plain text version of the email body"
},
"inReplyTo": {
"type": "string"
},
"attachments": {
"type": "array",
"items": {
"type": "object",
"required": [
"filename"
],
"properties": {
"id": {
"type": "string"
},
"size": {
"type": "number"
},
"filename": {
"type": "string"
},
"mimeType": {
"type": "string"
}
},
"additionalProperties": false
}
}
},
"additionalProperties": false
}