Skip to content

script.getUserEmail

Returns the email address of the calling user.

js
script.getUserEmail(user_id)

Parameters

  • user_id - Optional. If specified, it retrieves the email of that user.

Example

js
let user_email = script.getUserEmail();