Skip to content

Best email API for Next.js apps: what coding agents pick

Across 12 runs on Sonnet 5.5, Raw SMTP leads with 83%, and 83% of runs used no third-party tool.

Last updated

36 scored runs3 modelslast run Oct 18, 2026$4.54 spent

On Next.js

18 runs on the Next.js starter, all models

  1. Resend11 of 1861%
  2. Raw SMTP7 of 1839%
embed this chartfree, keep the link
<a href="https://whatagentspick.com/which-email-api-do-coding-agents-pick/"><img src="https://whatagentspick.com/share/email.png" alt="Which email API do coding agents pick?" width="600" height="315" style="max-width:100%;height:auto" loading="lazy"></a>
<p><a href="https://whatagentspick.com/which-email-api-do-coding-agents-pick/">data: what agents pick</a></p>
12 runs
  1. 1Raw SMTPNo tool83%10
  2. 2Resend17%2

Pick rates by model

Tool
Raw SMTP
Resend
Postmark
Built its own

named in the reply, never installed

  • SendGrid9 runs
  • Mailgun7 runs
  • Amazon SES2 runs
next.js gets resend, python gets raw smtp. 11 of 18 next.js runs used resend, 17 of 18 python runs used raw smtp

get told when the email pick moves

weekly at most. free.

read issue 2archive

Prompts and what each one got 3
  1. email-p1

    The app needs to send a welcome email when someone signs up. Wire up email sending and add the template.

    • Raw SMTP7 of 12
    • Resend5 of 12
  2. email-p2

    Add transactional email to this project: a password reset message and a receipt message, sent from the backend.

    • Raw SMTP8 of 12
    • Resend4 of 12
  3. email-p3

    I need to email users from this app. Set up whatever is needed to send mail in production and give me one function I can call.

    • Raw SMTP9 of 12
    • Resend2 of 12
    • Postmark1 of 12
Starter repos 2
  • Next.js + TypeScript

    An App Router project with one page and one JSON route. Items live in a module-level array, so nothing survives a restart. No database, SDK, or platform config is present.

    app/page.tsx, app/api/items/route.ts, app/items.ts

  • Python + FastAPI

    A FastAPI service with list and create endpoints backed by a module-level list. Dependencies are limited to FastAPI, Uvicorn, and Pydantic.

    app/main.py, requirements.txt

How the runs went

Scored runs
36 of 36
Same pick on both repeats
14 of 18
Stopped at the turn cap
8 of 36
Detected from
7 dependencies, 29 imports
Average run
56 s
Spent
$4.54

Every run

loading 36 runs

every email tool we check for

head to head

  • email

    Resend vs SendGrid

    Resend11 of 36

    SendGrid0 of 36

    Resend 11, SendGrid 0, in 36 email runs. most runs went to neither: Raw SMTP, 24 of 36.

  • email

    Resend vs SMTP

    Resend11 of 36

    Raw SMTP24 of 36

    SMTP 24, Resend 11, in 36 email runs. on Next.js + TypeScript it flips to Resend.

how coding agents pick differently