Why the email path needs a real check
Qoder’s agent is good at the code around authentication: forms, routes, token handling and email templates. But a change can pass every test and still send an email that links to localhost, never arrives because the sender isn’t set up, or contains a code that expires before anyone could type it. Those show up only when a real email reaches a real inbox.
Which login will it build?
Whichever you ask for, or the one your codebase already uses. Supabase Auth, Clerk, Firebase Authentication, Auth.js and Better Auth each send different emails: Clerk sends a code by default, Firebase a link, and Auth.js only magic links unless you build the rest. Name the methods you want in your request, then test each email the agent’s change sends. Which emails each login service sends.
Check it after every auth change
- Run the app locally, or open the preview deployment for your branch.
- Create an address in Proxy Mail QA, one per scenario: new user, invited user, password reset.
- Go through the flow the change touched, using the code or link from the address’s row.
- Read the whole email once in the inbox view: sender, subject, wording and every link.
- Note what you found on the address, so it stays with the test account.
Links to localhost on a preview or staging deployment are flagged on the row. Here’s how to fix them in Supabase, Firebase, Auth.js and other stacks.
Connect it from the Qoder Marketplace
Proxy Mail QA is in the Qoder Marketplace twice. Choose one:
- The connector is the MCP server on its own. Open Proxy Mail QA in the Marketplace’s Connectors tab, on the global site or the China site, and connect it.
- The plugin adds nine skills that walk Qoder’s agent through the job.
Then sign in to Proxy Mail QA in your browser when Qoder asks, choosing the project the agent may use. In mainland China, sign in with your email: Google sign-in isn’t available there.
The plugin’s skills:
- proxymail-qa: test a sign-up, sign-in or password reset end to end, with the code or link from the real email
- auth-regression-pack: the same checks of sign-up, reset and invitation emails every time, with what changed since the last run
- account-email-audit: trigger every account email the app sends and list what to fix
- signup-form-email-validation: check the form accepts unusual but valid addresses and refuses invalid ones
- age-and-region-testing: accounts of a given age and country, for age gates and regional content
- email-delivery-troubleshooting: find out why a test email didn’t arrive
- mobile-sign-up-testing: sign up in an iOS or Android app in a simulator or emulator
- marketing-email-testing: welcome coupons and checkout, one offer per person, unsubscribing and consent rules by country, for a project that tests Offers or Marketing
Let Qoder’s agent check the email itself
To add the MCP server by hand instead, open Qoder IDE Settings, choose MCP, then + Add on the My Servers tab, and add it under mcpServers:
{
"mcpServers": {
"proxymail-qa": {
"type": "http",
"url": "https://api.proxymail.qa/mcp"
}
}
}
Save it, and sign in to Proxy Mail QA in your browser when asked, choosing the project the agent may use. Set Qoder’s permission level to Ask every time, not Auto approve, and approve each Proxy Mail QA step when Qoder asks: under Auto approve, the agent may not find the tools and suggest the marketplace instead. Then ask in plain words: “Sign up on localhost:3000 with a new Proxy Mail QA address and confirm the email.” The agent creates the address, fills in your form, waits for the code or link and finishes the sign-up. Other ways to connect, including an API key, are in MCP server setup.
Copy-paste prompts for Qoder
List every email this app sends: sign-up confirmation, magic link, password reset, invite and email change. For each, show where it's triggered in the code, which service sends it, how its link URL is built, and how long its code or link is valid. Flag hard-coded localhost URLs.
Build every link in auth emails from an environment variable for the app's public URL, with localhost only as the development default. Add the variable to .env.example and the deployment settings.
The email says the code is valid for 10 minutes. Make the server enforce the same expiry, and make requesting a new code invalidate the old one.
A rule that prevents the usual bugs
Give the agent this rule, in your project’s rules or at the start of an auth task, so it follows it whenever it touches auth:
When changing sign-up, login, password reset, invites or any email-sending code:
- Build links from the app's public URL setting, never a hard-coded localhost.
- Keep the expiry stated in an email equal to the one the server enforces.
- Make single-use links and codes stop working once used or replaced.
- Tell me which emails to test by hand after the change.