> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polygon.technology/llms.txt
> Use this file to discover all available pages before exploring further.

# useSignInEmail

> Hook to retrieve the email address associated with the connected wallet.

## Import

```tsx theme={null}
import { useSignInEmail } from '@0xsequence/connect'
```

## Usage

```tsx theme={null}
import { useSignInEmail } from '@0xsequence/connect'

function App() {
  const email = useSignInEmail()

  return (
    <div>
      <h2>User Information</h2>
      {email ? (
        <div>
          <p>Connected with email: {email}</p>
        </div>
      ) : (
        <p>No email associated with connected wallet</p>
      )}
    </div>
  )
}
```

## Return Type

```tsx theme={null}
string | null
```

Returns the email address string when a wallet is connected and has an associated email, or `null` when no wallet connection exists or no email is associated.

## Notes

* Works with both WaaS wallets and universal wallet types.
* Email data is persisted across sessions using local storage.
* Email data is automatically cleared when the wallet disconnects.
