Get Profile

Gets the current user's Gmail profile

1 variables
4 variables

Gets the current user's Gmail profile

Authorization

To use this building block you will have to grant access to at least one of the following scopes:

  • Read, compose, send, and permanently delete all your email from Gmail
  • Manage drafts and send emails
  • View your email message metadata such as labels and headers, but not the email body
  • View and modify but not delete your email
  • View your email messages and settings

Input

This building block consumes 1 input parameters

  = Parameter name
  = Format

userId STRING Required

The user's email address. The special value me can be used to indicate the authenticated user

Output

This building block provides 4 output parameters

  = Parameter name
  = Format

emailAddress STRING

The user's email address

historyId INTEGER

The ID of the mailbox's current history record

messagesTotal INTEGER

The total number of messages in the mailbox

threadsTotal INTEGER

The total number of threads in the mailbox