# EmailPreviewAttachment type


An attachment a send would add by the template's default, named without rendering it.

## Fields

### kind

[`EmailTemplateAttachment!`](/chameleoon-max/type/email-template-attachment)

The kind of default attachment.

### filename

`String!`

The attachment's file name. Empty when it is not ready.

### notReady

`Boolean!`

Whether there is no PDF to attach yet. Either the order has no invoice (a send now would be
refused with `INVOICE_NOT_READY`), or the invoice's accounting system has not sent its PDF and
MAX may not render it itself (`INVOICE_PDF_MISSING`).

## Used by

- [`EmailPreview`](/chameleoon-max/type/email-preview)
