/gmail/v1/users/{userId}/profile
GET
/gmail/v1/users/{userId}/profileGets the current user's Gmail profile.
Request
Path Params
userId
stringÂ
required
The user's email address. The special value me
can be used to indicate the authenticated user.
Request samples
Responses
Successful response(200)
Successful response
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
Profile for a Gmail user.
emailAddress
stringÂ
optional
The user's email address.
historyId
string <uint64>
optional
The ID of the mailbox's current history record.
messagesTotal
integer <int32>
optional
The total number of messages in the mailbox.
threadsTotal
integer <int32>
optional
The total number of threads in the mailbox.
Example
{
"emailAddress": "string",
"historyId": "string",
"messagesTotal": 0,
"threadsTotal": 0
}
Last modified: 2 years ago