Models
Email delivery options. When Peppol recipient is provided, email is optional and you can choose to always send the email, or only when Peppol delivery fails. When Peppol recipient is null, email becomes the primary delivery method and `email.to` is required. Each sent email is counted towards your document quota.
Properties
| Name | Type | Required | Description |
|---|---|---|---|
when | always | on_peppol_failure | No | When to send the email. If the provided Peppol recipient is null, email becomes the primary delivery method and emails are always sent. Default: on_peppol_failure. Values: always, on_peppol_failure |
to | string[] | Yes | The email addresses to send the document to. Example: ["support@recommand.eu"] |
subject | string | No | The subject of the email. If not provided, the subject will be autogenerated based on the document type. Example: "Invoice SI-001" |
htmlBody | string | No | The HTML body of the email. If not provided, the body will be autogenerated based on the document type. Example: "Dear customer, you can find your invoice attached." |