X_MAIL_TEMPLATE_UNKNOWN
Means
no mail is registered under that id
Typical cause
the module holding defineMail({ id }) was never imported (also raised for an unregistered layout)
Fix
export the defineMail and import it at boot
no mail is registered under that id
the module holding defineMail({ id }) was never imported (also raised for an unregistered layout)
export the defineMail and import it at boot