Skip to content
You're viewing documentation for v0.3.0. It may be out of date.Go to latest
Email SDK
Esc
↑↓navigate↵open⌘Jpreview
On this page

Publish a community plugin

Package and list a third-party Email SDK plugin.

Community plugins are npm packages that export an EmailPlugin factory. The docs site lists them from a static JSON registry; there is no hosted plugin service.

Package shape

Export the plugin factory from the package root.

Apps should be able to use the package in one line inside plugins.

Package requirements

Use @opencoredev/email-sdk as a peer dependency.

Verified packages must not define preinstall, install, or postinstall scripts.

Security expectations

Verified packages must be boring:

  • Public source repository.
  • npm trusted publishing or provenance.
  • No install scripts.
  • No binaries.
  • Small runtime dependency surface.
  • No network calls during import or plugin construction.
  • Tests that prove the plugin registers with createEmailClient.

These checks reduce supply-chain risk, but they do not make third-party code risk-free.

Registry entry

Add the package to apps/fumadocs/content/community/plugins.json.

Use status: "verified" only after the package passes the verification checklist for one published version.

Verify locally

CI runs the same registry check. Verified entries also get a package tarball audit in CI.

Next

Adapter packages follow the same process, but should also document field support. See Publish a community adapter.

Last updated on