gmail_get_email_body_chunk
Extract a 1k character chunk from the body of a Gmail email starting at a specified offset, using a Google OAuth2 token and message or thread ID. Designed for API-driven email processing in remote environments.
Instructions
Get a 1k character chunk of an email body starting from the specified offset
Input Schema
Name | Required | Description | Default |
---|---|---|---|
google_access_token | Yes | Google OAuth2 access token | |
message_id | No | ID of the message to retrieve | |
offset | No | Offset in characters to start from (default: 0) | |
thread_id | No | ID of the thread to retrieve (will get the first message if multiple exist) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"google_access_token": {
"description": "Google OAuth2 access token",
"type": "string"
},
"message_id": {
"description": "ID of the message to retrieve",
"type": "string"
},
"offset": {
"description": "Offset in characters to start from (default: 0)",
"type": "number"
},
"thread_id": {
"description": "ID of the thread to retrieve (will get the first message if multiple exist)",
"type": "string"
}
},
"required": [
"google_access_token"
],
"type": "object"
}