Skip to content

feat(examples): add Mailtrap example - #3709

Open
mmaxence wants to merge 1 commit into
resend:canaryfrom
mmaxence:example-mailtrap
Open

feat(examples): add Mailtrap example#3709
mmaxence wants to merge 1 commit into
resend:canaryfrom
mmaxence:example-mailtrap

Conversation

@mmaxence

@mmaxence mmaxence commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

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. This gives a minimal reference integration without changing existing behavior.

  • New example package react-email-with-mailtrap builds with tsdown (ESM, Node 20) and typechecks against mailtrap@4.9.0.
  • Requires MAILTRAP_TOKEN; src/index.tsx renders <Email /> and calls MailtrapClient.send().
  • All changes are confined to examples/mailtrap; no production code modified.

Written for commit d6c04c8. Summary will update on new commits.

Review in cubic

@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

@mmaxence is attempting to deploy a commit to the resend Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Aug 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d6c04c8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedmailtrap@​4.9.09910010093100

View full report

@github-actions github-actions Bot added the linear-synced PR has been synced to Linear label Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

linear-synced PR has been synced to Linear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant