Proxy Mail QA

Switching from manual coding to Codex: start small

Adding Codex does not change deployed authentication; accepting edits without passing on your decisions can. Keep your editor, tests and working auth system.

Updated

We make Proxy Mail QA. We recommend it for disposable accounts, real auth emails and evidence, not migrating code, auth or users, or establishing whole-app security.

Manual coding means no prior AI coding agent, not no IDE.

Write down what you have stopped explaining

You know why an unverified account can see an onboarding screen but not customer data. You know which callback is for staging, which sender is approved and why the reset route looks unusual. Codex cannot reliably recover those decisions from implementation alone.

Before its first edit, record:

  • The actual auth provider, its environment variable names and the local or staging start command. Keep secret values out.
  • What verification permits, which hosts may receive callbacks and which provider-hosted action URLs are expected.
  • Whether sending another link invalidates the earlier one, the intended expiry and any invitation requirements.
  • The tests to run, areas requiring review and explicit prohibitions on production changes, disabling verification and resetting the owner’s password.

Put stable repository instructions in AGENTS.md. Codex reads from repository root to working directory, choosing AGENTS.override.md before AGENTS.md, one per directory, with a 32 KiB combined default limit. Personal instructions use ~/.codex/AGENTS.md, overridden by ~/.codex/AGENTS.override.md. Arbitrarily named notes are not default instructions; other filenames require project_doc_fallback_filenames in ~/.codex/config.toml.

There is no prior agent setup to import. Ask Codex to explain auth and flag uncertainty before editing. Correct its explanation first; do not rewrite working auth for familiarity.

Choose a working environment, then connect mail

Codex provides CLI, IDE and cloud coding agents, not ordinary ChatGPT chat. Choose one that can access the repository and run your tests. Review permissions: reading code need not permit deployment changes.

For Proxy Mail QA, run:

Terminal
codex mcp add proxymail-qa --url https://api.proxymail.qa/mcp

If the browser did not open, run codex mcp login proxymail-qa. Choose your test project. Authenticate an existing server rather than adding a duplicate. CLI and IDE share configuration; the IDE extension does not support plugins, and a plugin is not needed for these commands.

Unattended cloud tasks require your own scoped API key as a secret, not interactive OAuth. The app must run somewhere the test runner can reach; a cloud task’s localhost is not your laptop’s localhost. Never paste keys into chat or commit them.

Make the first comparison small enough to review

Capture a baseline on an authorised local or staging app, never production. Record revision and expected behaviour. Choose a small change, such as fixing an auth error message. Review the first diff, including unexpected configuration edits, before accepting. Repeat after that first auth-related change with a fresh account and browser session.

Use this checklist for both runs:

  1. Call start_run with a consistent name. Pass its run_id to every subsequent call that supports it, including email checks, add_run_note and finish_run. create_address with password: true, or form_values, creates an inbox, persona and password, not an app account. You, an agent or a test runner must submit the form.
  2. Record since immediately before each submit. If available, use the timestamp from mark_submitted. Pass it to wait_for_code or wait_for_link, recording a newer one for each resend and reset.
  3. Sign up and test the unverified gate if policy requires it. Verify, reload the session, then sign out and sign in. Check the approved provider action host and final destination; the outer link need not use your app’s host.
  4. Reset the test password. Check that the old password fails and the new one works. Retry a consumed link in a clean context; it must not grant fresh access.
  5. Test replacement separately from consumed-link reuse: for a resend, use an account that’s still unverified; for a reset, use a separate reset case. Leave A unused, request B, check A against the agreed policy and verify B completes the intended action. If A may remain valid, test B in an independent equivalent case so consuming A cannot invalidate B. Test invitations if supported. Mark server expiry skipped unless you actually wait and try an unused expired link.
  6. Use check_email for SPF, DKIM, DMARC, link hosts with expect_host, expiry wording and plain text. Use count_emails filtered by type, subtype and/or category and a measured window; welcome mail is not duplicate verification. Record browser results with add_run_note. For failed browser assertions, set failed: true (false by default); “failed” in prose alone leaves the run green. Record skipped checks separately with reasons, not as passes or assertion failures. finish_run reports and compares recent same-name runs.

A prompt for the first diff

Copy the preceding checklist together with this prompt and supply the authorised staging target.

Prompt
Use the supplied checklist; ask for it if missing.
Explain our current auth flow and instructions before editing. Preserve
working authentication and its provider. Propose one small change for
review, not a rewrite. Repeat the baseline with fresh accounts and clean
sessions. Report browser and email evidence.
Test consumed-link reuse separately from replacement. For replacement,
use a still-unverified account for resend or a separate reset case: leave
A unused, request B, check A against policy and prove B completes the action.
If A may remain valid, prove B in an independent equivalent case so
consuming A cannot invalidate B.
Pass start_run's run_id to every call that supports it, including email
checks, add_run_note and finish_run. For failed browser assertions, use
add_run_note with failed: true (default false); 'failed' in prose alone
leaves the run green. Record skips with reasons, not as passes or failures.
Never disable verification or reset the owner’s password.

Know what remains your responsibility

MCP never exposes email bodies or opens links. These checks exclude SMS, social auth, KYC, payments and a full security audit. Email expiry wording is not server enforcement; arrival is not an inbox-placement guarantee. check_delivery offers evidence about missing mail, not a certain provider-sandbox diagnosis.

OAuth cannot read saved passwords; use fresh accounts or a person’s reveal. Keep the E2E tests in the repository, run them in CI without relying on any one tool, and store PROXYMAIL_QA_API_KEY as a secret. Delete exact app test users separately from inboxes. If you later retire an agent connection, revoke it under Project settings → API keys, but don’t revoke a shared CI key.

Use the shared retest guide for future handoffs.

Sources

Reviewed 4 Dec 2026: Codex instructions, Codex connection, MCP, flow checks, CI.

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

See every email testing problem we solve

Codex is a product of OpenAI. OpenAI, Codex, ChatGPT and the OpenAI logo are OpenAI’s trademarks. Proxy Mail QA is independent and isn’t affiliated with or endorsed by them.