Mark Read/Unread
gmail.mark_read
ActionEmailconnection required
Calls the Gmail API messages.modify (UNREAD label).
Mark a Gmail message as read or unread.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Gmail
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
message_id Gmail message id. Supports {{ }}. | string | Yes | — | — | — |
read Mark read (true) or unread (false). | boolean | No | true | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"read": true
}Output
One shape.
message
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
message_id | string | — |
{
"message_id": "",
"ok": false
}Templates that use Gmail
Solutions with Gmail
See Mark Read/Unread run in a workflow.
In a technical demo we add the Gmail connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.