Gmail
Mark email read or unread
Mark an email as read or unread.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| senderstring · required | string | required | Connected email account identifier — typically the email address of the account (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 locate the email in the account (e.g. the sender's address if you are the recipient). The tool resolves it to the specific message. |
| isReadboolean · required | boolean | required | Read status to set: true to mark the email as read, false to mark it as unread. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"status",
"providerId",
"isRead"
],
"properties": {
"note": {
"type": "string"
},
"isRead": {
"type": "boolean",
"description": "The new read status of the email"
},
"status": {
"enum": [
"success"
],
"type": "string"
},
"providerId": {
"type": "string"
}
},
"additionalProperties": false
}