Last updated:
SendFox’s free plan now covers 3,000 transactional emails a month. Paid plans start at $19 a month for 100,000 sends. Resend Pro, the default pick for most vibe coders, is $20 a month for 50,000.
Same job. Roughly half the price per email. And if you already pay for SendFox for your newsletter, you’re not paying for a second email tool at all.
That’s the short version of why this matters.
So I have setup WatchlistBoosted and PromptQuik both on Resend. But since I already use Sendfox and they have a great team, I decided to migrate them over. Resend recently allowed 3 domains per free account instead of just one. But transactional emails for auth and resetting passwords is important for anyone creating software with vibe coding.
This tutorial walks you through the whole thing. Turning it on, testing without touching DNS, switching from Resend in about two minutes, and routing your Supabase login and password reset emails through SendFox. Plus the stuff that isn’t supported yet, so it doesn’t bite you in production.
The Short Answer
- What it is: SendFox (the email tool from AppSumo) can now send transactional emails from your app. Login codes, password resets, receipts, notifications.
- If you use Resend: change two environment variables. Your code stays the same.
- If you use Supabase Auth: SendFox has no SMTP, so you use Supabase’s Send Email Hook with a small Edge Function.
- Cost: included on every plan. Transactional sends come out of the same monthly pool as your campaigns.
- Not supported yet: attachments and scheduled sends.
What Is Transactional Email (and Why Your Vibe-Coded App Needs It)?
Transactional email is the stuff your app sends to one person because they did something. They signed up, so they get a confirmation link. They forgot their password, so they get a reset link. They paid, so they get a receipt.
It’s not a newsletter. Nobody “subscribes” to it. And if it doesn’t arrive, your app is broken as far as the user is concerned.
Here’s how that usually plays out.
You build an app in Lovable or Bolt over a weekend. It works on your machine. You share it in a Facebook group, and 40 people sign up. Then the messages start: “I never got the confirmation email.”
That’s not a bug in your code. That’s Supabase’s built-in email sender doing exactly what it was designed to do. It’s meant for testing. It’s heavily rate limited, and it sends from Supabase’s domain, not yours. Fine for you and two friends. Not fine for a launch.
So every vibe coder eventually hits the same fork in the road: you need a real email delivery service. Until now, the default answer was Resend. Now there’s another option, and it might already be sitting in an account you pay for.
What SendFox Transactional Email Actually Does


SendFox added a Transactional section to its dashboard. From there you get an API key and send email with a single HTTPS request from your code. No SDK required.
The useful bits for app builders:
- A Resend-compatible endpoint. SendFox accepts Resend’s exact request format, so the Resend SDK works against it unchanged.
- Its own native API at
https://api.sendfox.com/transactional/emailsif you’re starting fresh. - A live feed showing every message and what happened to it (sent, delivered, bounced, complained). This is the first place to look when someone says “I never got it.”
- Webhooks for delivery events, including a Resend-format option so existing handlers keep working.
- Test addresses that fake delivered, bounced and complained outcomes without hitting a real inbox or counting against your quota.
- An MCP server, so Claude, Cursor and other AI assistants can send and debug emails for you.
- Safe defaults for auth emails. Open and click tracking is always off for login codes, magic links and password resets. That matters more than it sounds. Corporate email scanners “click” links to check them, and a tracked link can burn a one-time token before your user ever sees it.
SendFox vs Resend vs Supabase’s Built-In Sender
Here’s how the three stack up, based on SendFox’s published pricing (checked October 2026). Prices change, so double-check before you commit.
| SendFox | Resend | Supabase built-in | |
|---|---|---|---|
| Free tier | 3,000 emails/month, no daily cap | Yes, with limits | Testing only, heavily rate limited |
| Entry paid plan | $19/month for 100,000 sends (shared with campaigns) | $20/month for 50,000 (Pro) | N/A |
| Sends from your domain | Yes, after DNS verification | Yes | No |
| Attachments | Not yet | Yes | N/A |
| Scheduled sends | Not yet | Yes | N/A |
| SMTP | No | Yes | N/A |
| Newsletter tool included | Yes | Separate product | No |
Keep in mind, SendFox’s 100,000 sends are shared between your newsletters and your app emails. If you blast 80,000 newsletter emails a month, you’ve got 20,000 left for your app. Do that math before you switch.
Step 1: Turn On Transactional Email in SendFox
If you don’t have an account yet, sign up for SendFox. The free plan works.
- Log in and go to More > Transactional.
- Click Request access. SendFox turns it on within a business day and emails you when it’s ready.
So don’t leave this until the night before your launch. Request it today, even if you’re not switching yet.
If you try to send before access is on, the API returns a feature_not_available error. That’s your clue.
Step 2: Grab Your API Key
Once access is on, the same Transactional page gives you your API key. The code samples on that page are already filled in with it, which is handy.
Copy it somewhere safe straight away. The full key is only visible for about an hour. After that, SendFox only shows its name.
And never paste it into frontend code. It belongs in environment variables or your platform’s secrets manager, nowhere else. If your key ends up in a React component, anyone can open the browser dev tools and send email as you.
Step 3: Send a Test Email (No DNS Needed)
This is the part I like. You can test before touching your DNS at all.
SendFox gives you a sandbox sender, [email protected]. It can deliver to your own account email address and to SendFox’s test addresses:
[email protected]fakes a successful delivery[email protected]fakes a bounce[email protected]fakes a spam complaint[email protected]fakes a suppressed recipient
Test addresses never reach a real inbox and never count against your monthly sends. Each one triggers its matching webhook too, so you can check your error handling properly.
Here’s the simplest possible test, using curl. On a Mac, open Terminal (press Cmd + Space, type Terminal, hit Enter), replace YOUR_KEY_HERE with your key, and paste the whole thing in:
curl https://api.sendfox.com/transactional/emails
-H "Authorization: Bearer YOUR_KEY_HERE"
-H "Content-Type: application/json"
-d '{
"from": "[email protected]",
"to": ["[email protected]"],
"subject": "Test from my app",
"html": "<p>It works.</p>",
"tag": "test"
}'
If it worked, you’ll get back something like {"id": "tm_...", "status": "queued"}. Then check the live feed on the Transactional page and you’ll see the message and its delivery events.
Step 4: Verify Your Sending Domain
The sandbox is for testing. For real users, your emails need to come from your own domain, like [email protected].
- In SendFox, go to Account > Domains and add your sending domain. A subdomain like
mail.yourapp.comis a good habit, because it keeps your app’s sending reputation separate from your main domain. - SendFox shows you a few DNS records (DKIM and SPF). Copy them into wherever your DNS lives: Cloudflare, Namecheap, Vercel, wherever.
- Click verify. Most DNS providers pick the records up within a few minutes.
If you’ve set up Resend before, this will feel familiar. It’s the same kind of records.
Skip this step and you’ll get a domain_not_verified error the first time you send from your own address. Not a silent failure, at least.
Now pick your path.
Path A: Switching From Resend (Two Environment Variables)
This is the cleanest migration I’ve seen for an email provider. SendFox built an endpoint that speaks Resend’s language, so the Resend SDK doesn’t know it’s talking to someone else.
Change these two environment variables:
RESEND_BASE_URL=https://api.sendfox.com/transactional/resend
RESEND_API_KEY=your_sendfox_transactional_key
That’s it. Your existing code keeps working:
import { Resend } from 'resend';
const resend = new Resend(process.env.RESEND_API_KEY);
await resend.emails.send({
from: 'YourApp <[email protected]>',
to: '[email protected]',
subject: 'Your login code',
html: '<p>Your code is 123456</p>',
});
resend.emails.send, resend.batch.send (up to 100 emails per call) and resend.emails.get all work as is.
Where do you change environment variables? Depends where your app lives:
- Vercel: Project > Settings > Environment Variables. Redeploy afterwards, because env changes don’t apply to the running deployment.
- Lovable / Bolt: if your email code runs in a Supabase Edge Function, the keys live in Supabase under Edge Functions > Secrets.
- Replit: the Secrets tool in the sidebar.
- Locally: your
.envor.env.localfile.
One gotcha. Resend’s Node SDK reads RESEND_BASE_URL automatically. Some other SDKs don’t. If yours doesn’t, pass the same URL as the base URL option when you create the client.
What doesn’t carry over from Resend
- Attachments and scheduled sends (
scheduled_at) aren’t supported yet. Any request that uses them gets a 422 error instead of sending. So you’ll catch it in testing, not when a customer’s PDF receipt quietly goes missing. - Recipient limits are tighter. Up to 10 addresses per email across to, cc and bcc, with at most 2 in bcc. Resend allows 50. For one-to-one app emails, this almost never matters.
- Message IDs now start with
tm_. If you store IDs in your database, make sure the column accepts that format. - Tags: only the first tag’s value is used as the SendFox tag.
Moving your webhook
If you listen for Resend webhooks (bounces, deliveries), go to Transactional > Webhooks in SendFox, add the same URL, and choose the Resend format. Swap your signing secret for the SendFox one and webhooks.verify() keeps passing.
And if it doesn’t work out? Change the two variables back. Your code never changed, so neither does the exit.
Full SendFox guide: How to switch from Resend.
Path B: Supabase Auth Emails (Signup, Magic Links, Password Resets)
This is the path most Lovable and Bolt users actually need, because their auth runs on Supabase.
Here’s the catch. The usual way to give Supabase a custom email provider is SMTP. SendFox doesn’t offer SMTP.
So instead, you use Supabase’s Send Email Hook. Every time Supabase wants to send an auth email, it calls a small Edge Function of yours with the user and a one-time token. Your function builds the link and sends it through SendFox’s API.
Sounds technical. It’s about 40 lines of code, and you can hand most of it to your AI.
1. Create the Edge Function
Create a file at supabase/functions/send-email/index.ts. Here’s a stripped-down version that handles signup, magic link, password recovery and invites:
import { Webhook } from 'https://esm.sh/[email protected]';
const hookSecret = Deno.env.get('SEND_EMAIL_HOOK_SECRET')!.replace('v1,whsec_', '');
const subjects: Record<string, string> = {
signup: 'Confirm your email',
recovery: 'Reset your password',
magiclink: 'Your sign-in link',
invite: 'You have been invited',
};
const tags: Record<string, string> = {
signup: 'verify_email',
recovery: 'password_reset',
magiclink: 'magic_link',
};
Deno.serve(async (req) => {
const payload = await req.text();
const { user, email_data } = new Webhook(hookSecret).verify(
payload,
Object.fromEntries(req.headers),
) as any;
const type = email_data.email_action_type;
const link = `${Deno.env.get('SUPABASE_URL')}/auth/v1/verify?token=${email_data.token_hash}`
+ `&type=${type}&redirect_to=${encodeURIComponent(email_data.redirect_to)}`;
const res = await fetch('https://api.sendfox.com/transactional/emails', {
method: 'POST',
headers: {
Authorization: `Bearer ${Deno.env.get('SENDFOX_API_KEY')}`,
'Content-Type': 'application/json',
'Idempotency-Key': `supabase-${email_data.token_hash}`,
},
body: JSON.stringify({
from: 'YourApp <[email protected]>',
to: [user.email],
subject: subjects[type] ?? 'Your account',
html: `<p><a href="${link}">Continue</a></p><p>Or enter this code: <strong>${email_data.token}</strong></p>`,
tag: tags[type] ?? 'auth',
}),
});
if (!res.ok) {
const error = await res.json();
return Response.json(
{ error: { http_code: res.status, message: `${error.name}: ${error.fix}` } },
{ status: 500 },
);
}
return Response.json({});
});
Two details worth understanding, because they’re the clever bits:
- The idempotency key is built from the one-time token. If Supabase retries the hook, SendFox returns the original email instead of sending a second one. No duplicate “confirm your email” messages.
- Errors flow back to Supabase. If the send fails, your signup call sees
domain_not_verified(or whatever went wrong) instead of a silent missing email. Every SendFox error includes afixfield telling you what to change.
Email change confirmations are trickier, because Supabase sends two emails and its field naming is inverted. If you need that flow, use the full version in SendFox’s Supabase guide.
2. Deploy the function and set your secrets
From your project folder in Terminal (with the Supabase CLI installed and linked to your project):
supabase functions deploy send-email --no-verify-jwt
supabase secrets set SENDFOX_API_KEY=your_sendfox_key
supabase secrets set SEND_EMAIL_HOOK_SECRET='v1,whsec_...'
The --no-verify-jwt flag matters. The hook proves who it is with its own signature, not a logged-in user’s token. Leave the flag off and Supabase blocks its own hook.
3. Turn on the hook
In your Supabase dashboard, go to Authentication > Hooks. Add a Send Email hook, type HTTPS, and paste your function’s URL. Supabase generates the hook secret right there. That’s the value for SEND_EMAIL_HOOK_SECRET above.
4. Test it
Sign up in your app using [email protected], then check the SendFox live feed. Then sign up with your real address. If both work, verify your domain and switch the from address to your own.
Supabase changes hook details now and then. If anything here disagrees with Supabase’s own Send Email Hook docs, follow theirs for the hook side. The SendFox call stays the same.
Path C: Starting Fresh (No Email Provider Yet)
No Resend, no Supabase auth, just an app that needs to send a receipt or a notification? Use the native API. It’s one fetch call:
const res = await fetch('https://api.sendfox.com/transactional/emails', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.SENDFOX_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
from: 'YourApp <[email protected]>',
to: ['[email protected]'],
subject: 'Your receipt',
html: '<p>Thanks for your order.</p>',
text: 'Thanks for your order.',
tag: 'receipt',
}),
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.name}: ${body.fix}`);
Run this server-side only. An API route, a server action, an Edge Function. Never in the browser.
The Vibe Coder Shortcut: Let Your AI Do It
Honestly, if you’re building in Lovable, Bolt, Cursor or Claude Code, you probably won’t type any of the code above yourself.
SendFox publishes its whole transactional API as a single Markdown page written for AI coding agents: sendfox.com/developer/transactional.md. Feed your AI that page and it has everything it needs.
Here’s a prompt you can copy:
Read https://sendfox.com/developer/transactional.md.
Set up transactional email for this app using SendFox.
- Send emails server-side only, never from the browser.
- Read the key from an environment variable called SENDFOX_API_KEY.
- Use a "tag" on every email (login_code, password_reset, receipt, etc.).
- If the API returns an error, log the "name" and "fix" fields.
- Use [email protected] as the sender until I verify my domain.
- Test with [email protected] first.
Show me which files you changed.
There’s also a SendFox MCP server. Connect it to Claude or Cursor and your assistant can send test emails, look up a specific message, and list recent sends. Useful when a user says “I never got the email” and you want to know why without logging in to another dashboard.
Limits and Gotchas to Know Before You Switch
- Every recipient counts. An email to 3 people is 3 sends, same as Resend.
- Rate limit: 5 requests per second, 300 per minute, per key. Hit it and you get a 429 with a
Retry-Afterheader. - No overage billing. When your monthly sends run out, you get a
monthly_quota_exceedederror until you upgrade or the month resets. Nothing surprise-bills you. But your password reset emails also stop. Keep an eye on thex-sendfox-sends-remainingheader every response includes. - Logs are kept 30 days.
- No attachments, scheduled sends, SMTP or inbound email yet.
Troubleshooting Common Errors
| Error | What it means | Fix |
|---|---|---|
feature_not_available | Transactional isn’t on for your account | Request access under More > Transactional and wait for the email |
invalid_api_key | Key is wrong or revoked | Check your env variable for stray spaces, then redeploy |
domain_not_verified | Your “from” domain isn’t verified | Finish Step 4, or use the sandbox sender for now |
sandbox_recipient_not_allowed | Sandbox sender emailing a stranger | Sandbox only sends to you and test addresses. Verify your domain. |
validation_error (422) | A field is wrong, or you used attachments or scheduling | Check the errors field in the response |
rate_limit_exceeded | Over 5 requests per second | Wait the Retry-After seconds, or use batch sends |
monthly_quota_exceeded | Plan sends used up | Upgrade or wait for the monthly reset |
Should You Switch? My Honest Take
Switch if you already use SendFox for your newsletter, your app sends simple text and HTML emails, and you’d like one less bill.
Also switch if you’re on Supabase’s built-in sender and about to launch. That one’s not optional. You need a real provider, and this is a cheap one.
Stay on Resend (for now) if your app sends PDF invoices or anything else as an attachment, if you rely on scheduled sends, or if something in your stack needs SMTP. Those features may come later. Today, they’re not there.
And if you’re not sure? Test it on staging. Since the Resend switch is two variables, the experiment costs you an afternoon, and undoing it costs you two minutes.
[ANDREW: add your verdict after testing it on one of your own apps. Even one line like “I moved X over and here’s what happened” carries more weight than everything above.]
Frequently Asked Questions
Is SendFox transactional email free?
It’s included on every SendFox plan, including the free one, which covers 3,000 emails a month. Paid plans start at $19 a month for 100,000 sends, shared with your campaigns.
Do I need to rewrite my code to switch from Resend to SendFox?
No. Set RESEND_BASE_URL to https://api.sendfox.com/transactional/resend and RESEND_API_KEY to your SendFox key. Your Resend send, batch and get calls keep working.
Does SendFox support SMTP for Supabase?
No. SendFox doesn’t offer SMTP. Use Supabase’s Send Email Hook with an Edge Function that calls the SendFox API instead.
Can SendFox send email attachments?
Not yet. Requests with attachments are rejected with a 422 error rather than sent without them.
Do transactional emails count toward my SendFox limit?
Yes. They come out of the same monthly send allowance as your newsletters. Emails to SendFox’s test addresses don’t count.
Can I use SendFox transactional email with Lovable or Bolt?
Yes. If your app uses Supabase auth, follow the Send Email Hook path. For other emails, point your AI at SendFox’s Markdown API docs and have it add a server-side send function.
Your Next Step
Go to More > Transactional in SendFox and click Request access today. It takes up to a business day to switch on, so the clock might as well start now.
Then run the curl test from Step 3. If you see that tm_ ID come back, you’re 90% of the way there.


Hey, I’m Andrew. I moved to Portugal from Nova Scotia, Canada. Follow my journey here.
I’ve been building and monetizing content sites since 2003. I have built and ranked dozens of sites over many years, and I built my own WordPress SEO plugin, called SEOMedic. Now I build niche directory sites and teach others to do the same.
I’m certified in Claude and Claude Code, and a certified Systeme.io funnel builder. I run Reddit and YouTube ads for clients.
Read more of my articles on Medium.
Book a free Zoom call if you want a fresh set of eyes on your business.

