feat(examples): add Mailtrap example
Merged
MM
2mo ago+283+283+012345678901234567890123456789-103-103-012345678901234567890123456789
Adds a Mailtrap example under examples/, following the same shape as the existing Brevo (#3704) and Plunk examples. It renders the email with react-email and sends it through the official mailtrap SDK's send() method. I checked the payload against the SDK's TypeScript types (mailtrap@4.9.0); it typechecks clean and builds with tsdown.
Summary by cubic
Adds a Mailtrap example under examples/mailtrap that renders an email with react-email and sends it using the official mailtrap SDK. It’s a minimal reference integration and does not modify production code.
- New example package
react-email-with-mailtrapbuilds withtsdown(ESM, Node 20) and typechecks againstmailtrap@4.9.0. - Requires
MAILTRAP_TOKEN; the example usesMailtrapClient.send()with HTML rendered viareact-email. - Updates
pnpm-lock.yamlfor the new example dependencies and applies linting; no behavior changes.