# `Rivet.Ident.Example.Mailer`
[🔗](https://github.com/srevenant/rivet-ident/blob/main/lib/example/mailer/index.ex#L5)

This is an example of how to deploy Rivet Email, and is included so other
projects may include it in their tests.

# `email_model`

```elixir
@type email_model() :: Rivet.Ident.Email.t()
```

# `email_recipient`

```elixir
@type email_recipient() :: email_model() | user_model()
```

# `user_id`

```elixir
@type user_id() :: String.t()
```

# `user_model`

```elixir
@type user_model() :: Rivet.Ident.User.t()
```

# `get_email`

```elixir
@spec get_email(email_recipient()) :: {:ok, email_model()} | {:error, reason :: any()}
```

# `sendto`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
