Skip to content

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

FieldTypePresenceDescription and constraints
$objectRootProfile for a Gmail user.
emailAddressstringOptionalThe user’s email address.
historyIdstringOptionalThe ID of the mailbox’s current history record.
Format: uint64
messagesTotalJSONOptional
messagesTotal (anyOf 1)integerAlternativeThe total number of messages in the mailbox.
Format: int32
messagesTotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
threadsTotalJSONOptional
threadsTotal (anyOf 1)integerAlternativeThe total number of threads in the mailbox.
Format: int32
threadsTotal (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:.[0-9]+)?(?:[eE][+-]?[0-9]+)?$

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.