Proxy Mail QA

Testing auth emails in apps you build with Claude Code

Claude Code can scaffold sign-up, login, email verification and password reset in one session. The tests it writes usually stub out the email, so the real path, from your email provider to the link a user clicks, is the part nobody has run.

Updated

Where email fits in a Claude Code workflow

Claude Code is Anthropic’s coding agent. It works in your terminal, your editor and the browser, reads your codebase and makes changes across it. Ask for “email and password sign-up with verification” and you’ll get the forms, the API calls and the templates, wired to whatever you use: Supabase Auth, Clerk, Auth.js, Firebase or your own backend.

What it can’t easily do is receive the email. Unit tests mock the sender, and end-to-end tests often skip verification. So the first real confirmation email is frequently sent to the first real user.

A five-minute end-to-end check

  1. Create an address in Proxy Mail QA. Make a few at once if you want one per scenario, such as new user, invited user and reset.
  2. Run your app (npm run dev or similar) and sign up with the address.
  3. Watch the code or link arrive. It shows up on the address’s row within seconds, with a Copy button for a code or an Activate account button for a link.
  4. Finish the flow. Paste the code into your app, or click the link. If the link points at localhost:3000 we flag it. That’s expected while you develop locally: choose This is my dev environment and it won’t be flagged again in that project.
  5. Repeat on staging before you ship. Now a localhost link is a real bug, and the most common one in generated auth code. Here’s how to fix it.

Hand Claude Code the evidence

When something is off, paste what you saw straight into your session. Specific beats vague:

The inbox view shows each email’s sender, subject, full content and every link found in it, which is usually all the agent needs.

Tips

Try it on your next sign-up test

Free plan, no credit card. Create an address and watch the code or link arrive.

Create a free accountOpen the app

Questions

Do I need to change my app to use Proxy Mail QA?

No. Sign up in your app with a Proxy Mail QA address, exactly as a user would. Whatever sends your email (Supabase Auth, Clerk, Auth.js with Resend, Firebase, your own SMTP) delivers to it like any other inbox.

Can Claude Code read the verification code itself?

Not yet. Today you copy the code or click the link yourself. A REST API and an MCP server, so coding agents can create an address and wait for its code, are planned.

My local Supabase stack doesn't send real email. Can I still use this?

The Supabase CLI catches auth email locally in its own mail viewer, which is fine for local work. Use Proxy Mail QA when your app sends real email: a hosted Supabase project, staging, or a mail provider such as Resend, SendGrid or Postmark.

What if my auth provider blocks disposable email domains?

Allow mailclub.dev in your staging or development configuration. Receiving on your own domain is planned for the Team plan.

See every email testing problem we solve →

Claude Code is a product of Anthropic. Proxy Mail QA is independent and isn't affiliated with or endorsed by them.