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

Metadata about an attachment on an email.

Only the metadata (filename, content type, size, disposition) is stored; the
attachment content itself is not persisted.

# `t`

```elixir
@type t() :: %SquatchMail.EmailAttachment{
  __meta__: term(),
  content_type: term(),
  disposition: term(),
  email: term(),
  email_id: term(),
  filename: term(),
  id: term(),
  inserted_at: term(),
  size: term(),
  updated_at: term()
}
```

# `changeset`

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

Builds a changeset for an attachment.

---

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