---
url: /process-functions/script-getuseremail.md
description: Returns the email address of the calling user.
---

# 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();
```
