MailPlugin factory — registers an IMailer under CAPABILITIES.MAIL.
IMailer
CAPABILITIES.MAIL
Builds the provider adapter for the configured backend.
The provider backend id
Provider-specific options
The plugin context (for ctx.logger on the log provider)
ctx.logger
log
The provider adapter
If the provider type is unsupported
MailPlugin factory — registers an
IMailerunderCAPABILITIES.MAIL.