Returns the drafts Resource.
Returns the history Resource.
Returns the labels Resource.
Returns the messages Resource.
Returns the threads Resource.
Gets the current user's Gmail profile.
getProfile(userId)
Gets the current user's Gmail profile. Args: userId: string, The user's email address. The special value me can be used to indicate the authenticated user. (required) Returns: An object of the form: { # Profile for a Gmail user. "threadsTotal": 42, # The total number of threads in the mailbox. "emailAddress": "A String", # The user's email address. "historyId": "A String", # The ID of the mailbox's current history record. "messagesTotal": 42, # The total number of messages in the mailbox. }