Extends
Members
Methods
# async create(address) → {Promise.<Email>}
Adds a new email address to the current user.
Parameters:
Name | Type | Description |
---|---|---|
address |
string
|
The email address to be added. |
- See:
Promise.<Email>
# async delete(emailID) → {Promise.<void>}
Deletes the specified email address.
Parameters:
Name | Type | Description |
---|---|---|
emailID |
string
|
The ID of the email address to be deleted |
- See:
Promise.<void>
# async list() → {Promise.<Emails>}
Returns a list of all email addresses assigned to the current user.
- See:
Promise.<Emails>
# async setPrimaryEmail(emailID) → {Promise.<void>}
Marks the specified email address as primary.
Parameters:
Name | Type | Description |
---|---|---|
emailID |
string
|
The ID of the email address to be updated |
- See:
Promise.<void>