# `SquatchMail.EmailRecipient`
[🔗](https://github.com/Axio-Intelligence/Squatch-Mail/blob/v0.1.1/lib/squatch_mail/email_recipient.ex#L1)

A normalized recipient of an email (a to/cc/bcc address).

Recipients are stored in their own table so that addresses can be searched and
indexed independently of the parent email.

# `t`

```elixir
@type t() :: %SquatchMail.EmailRecipient{
  __meta__: term(),
  address: term(),
  email: term(),
  email_id: term(),
  id: term(),
  inserted_at: term(),
  kind: term(),
  name: term(),
  updated_at: term()
}
```

# `changeset`

```elixir
@spec changeset(t(), map()) :: Ecto.Changeset.t()
```

Builds a changeset for a recipient.

# `kinds`

```elixir
@spec kinds() :: [String.t()]
```

Returns the list of valid recipient kinds.

---

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