Skip to main content
GET
Can this user's agents read Gmail on the current Digital Twin

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Response

Connection status

success
boolean
Example:

true

connected
boolean

Agents can read Gmail now.

Example:

true

managed
boolean

The twin's shared Google account is used; users cannot connect their own.

email
string | null

The mailbox agents read (from Gmail).

Example:

"me@example.org"

canConnect
boolean

The user can connect (or reconnect) Google to fix this.

code
enum<string> | null
Available options:
GMAIL_NOT_CONNECTED,
GMAIL_NOT_AVAILABLE,
GMAIL_SWITCHED_OFF,
GMAIL_NO_USER,
SERVICES_DISABLED_BY_ADMIN
message
string | null

Why agents cannot read Gmail, in words.