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.

FieldTypeRequiredDefaultConstraintsExample
message_id
Gmail message id. Supports {{ }}.
stringYes———
read
Mark read (true) or unread (false).
booleanNotrue——

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "read": true
}

Output

One shape.

message

FieldTypeExample
ok
boolean—
message_id
string—
{
  "message_id": "",
  "ok": false
}

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.