Resend · sdk · fg-0400

Email body shows [object Promise] after upgrading React Email

If you see Recipients receive the literal text [object Promise], the cause and the fix for Resend are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
Recipients receive the literal text [object Promise]html field is a Promise in logsrenderAsync is not exported after upgrading
Cause
render became async in @react-email/render 1.0.0 and renderAsync was removed in 2.0.0. Code that passes render() straight into html sends the Promise.
Fix
Await render, or pass the component through the react field and let the SDK render it.
Apply
const html = await render(<WelcomeEmail name={name} />); await resend.emails.send({ from, to, subject, html });
Affected
@react-email/render 1.0.0 and later (renderAsync removed in 2.0.0)
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun