Users: getProfile

Gets the current user's Gmail profile. Try it now.


HTTP request



Parameter name Value Description
Path parameters
userId string The user's email address. The special value me can be used to indicate the authenticated user.


This request requires authorization with at least one of the following scopes:


For more information, see the authentication and authorization page.

Request body

Do not supply a request body with this method.


If successful, this method returns a response body with the following structure:

  "emailAddress": string,
  "messagesTotal": integer,
  "threadsTotal": integer,
  "historyId": unsigned long
Property name Value Description Notes
emailAddress string The user's email address.
messagesTotal integer The total number of messages in the mailbox.
threadsTotal integer The total number of threads in the mailbox.
historyId unsigned long The ID of the mailbox's current history record.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.