Skip to main content

User

This namespace contains methods and types related to the currently logged in user.

Namespace methods#

getEmailAddress()#

Returns a string of the email address of the currently logged in user.

isConversationViewDisabled()#

Returns a boolean whether conversation view disabled by the user

getLanguage()#

Returns a string of the current locale code of Gmail

getAccountSwitcherContactList()#

Returns an Array<Contact> of all of the user's accounts from the account switcher.