# X_MAIL_PREVIEW_MISSING

## Means

this mail declares no preview

## Typical cause

x mail preview, or a render of every declared preview, was asked for a mail whose defineMail declares no preview data

## Fix

`x mail preview <id> --json` — then add preview: { ... } to that mail's defineMail call, shaped like its input

[Mail](/error-codes#mail)
