## Send setup sign-in code

`client.App.Setup.Email(ctx, body) error`

**post** `/v1/app/setup/email`

Send a sign-in code to the user email address for app setup.

### Parameters

- `body AppSetupEmailParams`

  - `Email param.Field[string]`

    Email address to send the sign-in code to.

  - `SetupRequestID param.Field[string]`

    Setup request ID returned by the start step.

### Example

```go
package main

import (
  "context"

  "github.com/beeper/desktop-api-go"
  "github.com/beeper/desktop-api-go/option"
)

func main() {
  client := beeperdesktopapi.NewClient(
    option.WithAccessToken("My Access Token"),
  )
  err := client.App.Setup.Email(context.TODO(), beeperdesktopapi.AppSetupEmailParams{
    Email: "dev@stainless.com",
    SetupRequestID: "setupRequestID",
  })
  if err != nil {
    panic(err.Error())
  }
}
```
