Vibecode Resend

track this build5 phases, 10 steps, beginner friendly
NOT REALLY · don't bother
price $20/moyou'd save $240/yrbuild time multi-daycategory 📬 emailreplaced by 0 people

Sending email is easy; getting it delivered is not. The product is IP reputation, feedback loops with every major mailbox provider, bounce handling and the DKIM/SPF/DMARC plumbing done right. A self-hosted MTA can work for one careful person, and the first spam-folder week teaches why people pay.

the project pack5 files · written for this build, step by step
README.md
# Resend · indie build

Not an email provider: deliverability is reputation, not code. This is the mail module that makes the provider replaceable: one interface, an SMTP driver, a hosted-API driver, a dev driver that writes .eml files, DNS records checked, bounces suppressed, and an honest page on self-hosting Postal if you insist.

Estimated effort: **one sitting**. Work `BUILD_PLAN.md` top to bottom · every phase ends in a check that has to pass before the next one starts.

## Stack

| Part | Choice | Why |
| --- | --- | --- |
| Runtime | Node 22 | one module your app imports |
| Drivers | nodemailer for SMTP, fetch for a hosted API | the swap is an env var |

## Before you start

Have every one of these ready. The plan assumes them from step one.

- [ ] **Node.js 22 or newer** · free
  - Why: Everything in this build runs on it: the server, the scripts, the tests.
  - Get it: Download the LTS installer from nodejs.org, or install with your package manager (brew install node, or nvm install 22). Restart the terminal afterwards.
  - Verify: node --version prints v22 or higher
- [ ] **A terminal and a code editor** · free
  - Why: Every step below is a command you type or a file you edit.
  - Get it: VS Code (code.visualstudio.com), Cursor or Zed. Open a folder for the project and use the editor's built-in terminal.
  - Verify: You can open a folder and run a command in its terminal
- [ ] **Git** · free
  - Why: History for your code, and the way most hosts deploy.
  - Get it: Install from git-scm.com or with your package manager, then run git init in the project folder once it exists.
  - Verify: git --version prints a version
- [ ] **A sending domain you control DNS for** · free on a domain you own
  - Why: SPF, DKIM and DMARC records are what make mail deliverable.
  - Get it: Use a subdomain like mail.yourdomain.com so experiments never hurt your main domain's reputation.
- [ ] **A hosted provider key (Resend, Postmark or similar)** · free tier; then usage-based
  - Why: The hosted driver. Free tiers cover thousands of emails a month.
  - Get it: Resend: resend.com > API Keys > Create; add and verify your domain. Postmark: account > Servers > API Tokens.
- [ ] **SMTP credentials (optional)** (optional) · varies
  - Why: The SMTP driver, for self-hosting or another provider.
  - Get it: From any mail host.
- [ ] **Test inboxes at Gmail and Outlook** · free
  - Why: Deliverability is judged by real providers.
  - Get it: Free accounts.

## Quick start

```sh
mkdir mail && cd mail && git init && npm init -y && npm pkg set type=module && npm install nodemailer@6
mkdir -p mail-out && cp .env.example .env
```

Then copy `.env.example` to `.env` and fill in the values it documents.

## Honest limits

This build deliberately does not replace:

- Being a mail provider. Inbox placement is earned with volume history you do not have.
- deliverability built on years of provider relationships
- bounce, complaint and suppression handling
- the dashboard, logs and webhooks
- not being the person who debugs Gmail rejections at 2am

If one of those is essential to you, that is the reason to keep paying for Resend, and the README should say so rather than pretend.

$ choose a build depth, inspect the files, then open the complete pack in your agent

why people still pay

Because the first time a password reset lands in spam is the last time anyone argues about $20.

what you lose

xdeliverability built on years of provider relationships

xbounce, complaint and suppression handling

xthe dashboard, logs and webhooks

xnot being the person who debugs Gmail rejections at 2am

prior art · use these instead of building, if you'd ratherPostalopen-source mail delivery platform
share on X ↗"I just replaced Resend ($20/mo) with one prompt"
the numbers

Resend pricing

pro$20/mo · monthly flat · $240/yr

free tierThe free plan sends 3,000 emails a month capped at 100 a day from up to 3 domains.

verified 2026-09-04 · source ↗

questions
Is Resend free?

The free plan sends 3,000 emails a month capped at 100 a day from up to 3 domains. Paid is Pro at $20/mo (checked 2026-09-04).

Vibecode Resend

Not really. Resend's value is not the code: . See the honest breakdown above.

How much does Resend cost?

Resend costs about $20/month (Pro, checked 2026-09-04), which is $240 per year.

What do I lose by replacing Resend?

Honestly: deliverability built on years of provider relationships; bounce, complaint and suppression handling; the dashboard, logs and webhooks; not being the person who debugs Gmail rejections at 2am. If any of those are load-bearing for you, keep paying.

Is there an open-source alternative to Resend?

Yes: Postal (open-source mail delivery platform). Using prior art is also vibecoding; the prompt is for when you want it exactly your way.