setEmail

Sets the email for the authenticated user, allowing them to login with that email.

You must contact Alchemy to enable this feature for your team, as there are important security considerations. In particular, you must not call this without first validating that the user owns this email account.

Import

1import { BaseSignerClient } from "@account-kit/signer";

Parameters

email

string The email to set for the user

Returns

Promise<void> A promise that resolves when the email is set