Autonnel v0.1.0

Email templates

Read-only default templates; multi-language support; visual editor preview.


autonnel ships with built-in email templates for every transactional event and all three recall intervals. You can preview them in the admin UI. Custom editing via the admin UI is not yet supported — changes require editing the source file and rebuilding.

Go to Settings → Email Templates. The tab lists all available templates. Select one to open a preview.

Default templates

TemplateTriggered when
Order receiptOrder moves to PAID status
ShippedOrder moves to SHIPPED status (tracking number detected by the fulfillment sync cron)
DeliveredOrder moves to DELIVERED status via the external delivery API
RefundedA refund is processed via the admin UI
Recall 1First recall interval fires (default: 24 hours after order creation)
Recall 2Second recall interval fires (default: 72 hours)
Recall 3Third recall interval fires (default: 168 hours, or 1 week)

Each template includes a subject line and an HTML body composed of visual blocks.

Multi-language support

All default templates are available in four languages: English (en), French (fr), German (de), and Spanish (es).

When autonnel sends an email for an order, it uses the checkout language recorded with the order to determine which language variant to render. If the order’s language is not one of the four supported codes, the template falls back to English.

The language is set at checkout time based on the page locale and is not something you configure in the templates tab.

The editor

Templates use a visual block-based editor. In the current release, the admin UI renders templates in preview-only mode. You can inspect how each template looks in each language but cannot edit blocks through the UI.

Customizing templates

Template customization is not yet available through the admin UI. Changes require editing the template source files in your autonnel fork and rebuilding. After rebuilding, restart the server to see updated previews in the admin UI.

If a template does not have a translation for a given language, it falls back to English.

Caveats

  • Custom templates via the admin UI are not yet supported. All template changes require a code edit and a rebuild.
  • If you maintain a fork with custom templates, upstream updates to the template structure may require manual merging.
  • The preview in the admin UI reflects the compiled HTML at the time the server started. If you have edited bundles and rebuilt, restart the server to see the updated preview.
  • Email provider — configuring the sending adapter
  • Recall — setting recall intervals and binding coupons to Recall 1/2/3 templates
  • Orders → Emails — viewing sent and queued emails with delivery status