Google: Gets the current user's Gmail profile — response body
Gets the current user's Gmail profile.: response body. Complete fields and constraints for contract 2026-10-27.
API reference · Contract 2026-10-27
SDK schema: Gets the current user's Gmail profile — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Profile for a Gmail user. |
emailAddress | string | Optional | The user’s email address. |
historyId | string | Optional | The ID of the mailbox’s current history record. Format: uint64 |
messagesTotal | JSON | Optional | |
messagesTotal (anyOf 1) | integer | Alternative | The total number of messages in the mailbox. Format: int32 |
messagesTotal (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
threadsTotal | JSON | Optional | |
threadsTotal (anyOf 1) | integer | Alternative | The total number of threads in the mailbox. Format: int32 |
threadsTotal (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |