Variable: email
constemail:ToPlugin<typeofEmailPlugin,EmailPluginConfig,"email">
Register the email plugin.
Example
Section titled “Example”import { createApp, server } from "@databricks/appkit";import { defaultEmailBrand, email } from "@dbx-tools/email";
await createApp({ plugins: [ server(), email({ domain: "mail.example.com", allowedSenders: ["*@mail.example.com"], brand: defaultEmailBrand, }), ],});