Options for the MailPlugin factory.
optional
provider: MailProviderType
Provider backend. Defaults to 'log'.
optional
options: MailProviderOptions
Provider-specific options.
optional
defaults: { from?: string; }
Message defaults applied when a message omits the field.
optional
templates: Record<string, MailTemplate>
Named body templates available to sendTemplate.