How do I add a custom mail layout?

To add a custom mail layout you can use the addLayout() method on the mail action:

\Aero\Events\Models\MailAction::addLayout('acme', 'Acme');

Then you can create the emails.acme twig view, which will be used to render your layout:

Acme {{ body | raw }}

Revision #1
Created 2026-09-21 11:43:19 UTC by Ethan Payne
Updated 2026-09-21 11:47:15 UTC by Ethan Payne