feat(integrations): add Lettermint docs and example
Merged
GL
3mo ago+165+165+012345678901234567890123456789-1-1-0123456789
Add docs and a runnable example for sending emails with the Lettermint Node.js SDK.
This is a resubmission of #3033, which was closed in March because Lettermint was considered too small at the time. As noted in https://github.com/resend/react-email/pull/3033#issuecomment-5413427641, that has changed since:
- Lettermint now sends ~200,000 emails per day, up from 50,000 per month nine months earlier (KumoMTA case study).
- They are ISO 27001 certified (trust center).
- As a European provider with its own network and IP ranges, it is a relevant option for React Email users who need EU data residency.
Changes
apps/docs/integrations/lettermint.mdx: new integration page, registered indocs.jsonunder Integrations.examples/lettermint: runnable example that renders a template and sends it. SetLETTERMINT_SENDING_TOKENto run.
Compared to #3033, the branch is rebased on current canary and updated to match the conventions that changed since then:
- Uses the
react-emailpackage instead of@react-email/components, like the other integration pages and examples. - Updated to Lettermint SDK v2 (
Lettermint.email(token)), which is now the documented way to send. - Dependencies pinned to exact versions, matching the other examples.
The example builds with tsdown and passes biome check.
Summary by cubic
Adds Lettermint integration docs and a runnable example, replacing the previously closed PR now that Lettermint's scale and EU data-residency make it a relevant option.
- Adds a Lettermint page to the docs and registers it in the integrations navigation and overview.
- Adds a runnable example in
examples/lettermintusing thereact-emailpackage and Lettermint SDK v2, with dependencies pinned to exact versions.