REST API
Base URL https://api.proxymail.qa/v1, with Authorization: Bearer qa_…. Every endpoint is in the REST API reference, generated from the OpenAPI description.
Using JavaScript or TypeScript? The proxymail-qa package on npm wraps these calls, with types.
Quick start
Section titled “Quick start”Get an API key
Section titled “Get an API key”Use an API key from the project you’re testing.
Create an address
Section titled “Create an address”Create an address with a persona and a password, and sign up in your app with it.
curl -X POST https://api.proxymail.qa/v1/addresses \-H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" -H "Content-Type: application/json" \-d '{"label": "Sign-up test", "persona": true, "password": true}'Wait for the code
Section titled “Wait for the code”Then wait for the code. It comes back on its own.
curl "https://api.proxymail.qa/v1/addresses/k7f2x9ab12cd@mailclub.dev/code" \-H "Authorization: Bearer $PROXYMAIL_QA_API_KEY"{"type": "code","subtype": "otp","value": "986512","service": "Spotify","received_at": "2026-10-12T10:00:03Z","expires_at": "2026-10-12T10:10:03Z"}
Postman, Bruno and Insomnia
Section titled “Postman, Bruno and Insomnia”The API is also a Postman collection, made from the same OpenAPI description, with a request for every endpoint in folders and a four-step sign-up test to start with. Postman, Bruno, Insomnia, Hoppscotch and Thunder Client all import it:
https://proxymail.qa/downloads/proxymail-qa.postman_collection.jsonImport it
Section titled “Import it”In Postman, choose Import and paste the address above. In Bruno, choose Import collection → Postman collection and pick the downloaded file. In Insomnia, choose Import → From URL.
Set the key
Section titled “Set the key”Set
apiKeyto your API key in an environment, as a secret, rather than in the collection, so it isn’t shared when the collection is.Run the sign-up test
Section titled “Run the sign-up test”Open Start here: a sign-up test and send 1. Make a test address: it keeps the address in the collection’s
addressvariable. Sign up with it in your app, then send 2. Wait for the code (or 3. Wait for the link), and 4. Delete the address when you’re done.
Every other request uses the address variable too, and the requests under Runs use run, which Start a run fills in. For a sign-up test in CI, use the command line or a test library instead, so your app’s sign-up runs between making the address and waiting for its code.
Endpoints
Section titled “Endpoints”| Method and path | What it does |
|---|---|
GET /v1/project |
The key’s project, its mail domains and limits, the standard fields turned off (standard_fields_off), whether all five ID and tax number ready-made fields are on (fill_id_fields), what it tests (areas) and whether its spam checks are on (spam_checks) |
PATCH /v1/project |
Change the project’s name, website, environments, email_prefix, mail_domain, fill_unknown_fields (which fields form values guess: all, required or off), fill_id_fields (true adds the five ID and tax number ready-made fields, which fill a fake value only where one can never be a real person’s; false turns them off; the project’s leads only), areas (the whole list of signup, offers, marketing and receipts, at least one) or spam_checks, as in Project settings. Needs the project’s lead, or an organisation owner or admin; each change is in the activity log |
POST /v1/project/dev-hosts |
Mark a host such as localhost:3000 as a dev environment (host), so the email checks pass links to it |
GET /v1/project/custom-fields |
The project’s custom fields, its guesses setting, whether it’s locked, and your requests waiting for a lead (more) |
POST /v1/project/custom-fields |
Add a custom field, or change one (id); on a locked project, if you aren’t a lead, asks a lead instead (202, status: "requested") |
PATCH /v1/project/custom-fields |
Turn a custom field on or off (id, enabled), or ask a lead to; fills ignore one that’s off, and it’s still listed |
PATCH /v1/project/standard-fields |
Turn Company, First name, Last name or Full name on or off (field, on), or ask a lead to; when one is off, that box is left empty |
DELETE /v1/project/custom-fields/{id} |
Remove a custom field, or ask a lead to |
GET /v1/project/signup-forms |
The project’s sign-up forms, each with its status, site and size (more) |
POST /v1/project/signup-forms |
Save a sign-up form’s spec (and id to change one) with the custom fields it needs; on a locked project, if you aren’t a lead, asks a lead instead (202, status: "requested") |
GET /v1/project/signup-forms/{id} |
One sign-up form: its spec, its custom fields and how each field gets its value |
DELETE /v1/project/signup-forms/{id} |
Remove a sign-up form; its custom fields stay unless ?remove_custom_fields=true |
GET /v1/project/signup-forms/{id}/code |
A sign-up form as code for your app: ?format=react-hook-form (default), react or html, and requested=true for a change waiting for a lead (more) |
GET /v1/project/signup-forms/{id}/test |
Tests for a sign-up form: ?framework=playwright (default) or cypress, and requested=true for a change waiting for a lead (more) |
GET /v1/project/sites |
The project’s sites, each with whether each screen of a sign-up fills by itself (multi_step) and its sign-up screens, the app screens with no site, and your requests waiting for a lead (more) |
POST /v1/project/sites |
Add a site that doesn’t look live, such as a staging, dev or local one (site, environment); a person adds the rest in the app. On a locked project, if you aren’t a lead, asks a lead instead (202) (more) |
PATCH /v1/project/sites |
Turn Sign-up goes over several screens on or off for a site (site, multi_step); on a locked project, if you aren’t a lead, asks a lead instead (202) |
POST /v1/project/sites/screens |
Add a page to a site’s sign-up screens (site and page), or a native app screen (screen), keep a suggested one, or name it (label) |
DELETE /v1/project/sites/screens/{id} |
Remove a sign-up screen, or ask a lead to |
POST /v1/addresses |
Create an address (label, name, persona, password, lifetime_days, domain, age or date_of_birth, country, and where it’s used: site and environment) |
POST /v1/form-values |
What to type or pick in each field of a sign-up form, from a new address made for it or one made earlier (more); kyc_sandbox and kyc_outcome fill a KYC vendor’s sandbox values (more) |
GET /v1/addresses |
List addresses, newest first, or find ones made earlier (tag, country, min_age, max_age, has_password, search, site, environment) |
GET / PATCH / DELETE /v1/addresses/{address} |
Read, update (first_name, last_name, username, date_of_birth, country, label, notes, tags, and where it’s used: site and environment), or delete one |
GET /v1/addresses/{address}/code |
Wait for a code (timeout, service, since; unused=true skips codes already used; type=coupon for a coupon or promo code, with its discount and valid-until date; expect_site for link_site) |
GET /v1/addresses/{address}/link |
Wait for a link (type: verify, magic_signin, invite, reset or any; unsubscribe or list_unsubscribe for an unsubscribe link; app=true for a link that opens a mobile app; expect_site for link_site) |
GET /v1/addresses/{address}/count |
Count the emails that arrived (since, service, type: code or link, subtype, category), each summarised without its content |
GET /v1/addresses/{address}/none |
Check that no email arrives: holds up to 30 seconds (timeout), 200 if nothing came, 409 as soon as something does; category=marketing watches only for offers and newsletters, and until keeps a window open for up to an hour across calls |
GET, PUT /v1/addresses/{address}/consent |
Marketing. What the address agreed to at sign-up (marketing, a pre-ticked box, double opt-in), for the marketing rules by country |
POST /v1/addresses/{address}/submits |
Mark the form as about to be sent (flow: sign_up, sign_in, reset, magic_link or other; site: the page). The next /code or /link adds time_to_email |
POST /v1/addresses/{address}/coupon-result |
Offers. What checkout did with a coupon (accepted, rejected or error, with the app’s message), and the coupon_result verdict |
POST /v1/addresses/{address}/sequence |
Marketing. A welcome series or drip campaign: whether each email came in order and on time after since |
GET /v1/addresses/{address}/offers |
Offers. Each sender’s coupons and which version of the address (plain, capitals, +tag) each went to: reused when one person got an offer twice |
GET, POST, DELETE /v1/addresses/{address}/unsubscribed |
Marketing. Unsubscribe watches: POST records that the address unsubscribed from a sender, DELETE that it subscribed again, and GET lists the marketing emails that came after |
GET /v1/addresses/{address}/checks |
Check an email: SPF, DKIM and DMARC, local and plain http links, where its link goes (expect_host), whether it goes back to the site the test started on (link_site, with expect_site), a stated expiry, when a coupon ends, a plain-text part, size, image-only emails, given phrases (expect_text), its language (expect_language), how soon it came (expect_within) and its attachments (expect_attachment). Verdicts only |
GET /v1/addresses/{address}/messages |
Emails with their codes and links; include=text adds the text, include=html the HTML, include=text,html both |
GET /v1/emails |
Find emails across all the project’s addresses, newest first: from the last while (within=10m) or between since and until, by category, sender (service), code or link (type, subtype) and a phrase in the subject (subject), with a count (more) |
GET /v1/addresses/{address}/variants |
Unusual versions of the address for testing sign-up forms: ones that reach its inbox, ones that can’t, and invalid ones (more) |
GET /v1/variants/names |
Awkward names for a form’s name field (field, max_length): ones to accept, ones to reject, HTML or SQL to store as text, and ones apps differ on (more) |
GET /v1/variants/passwords |
Awkward passwords within the field’s rules (min_length, max_length, symbols): the minimum and maximum, each symbol class, spaces, non-ASCII, and ones apps differ on (more) |
GET /v1/form-sections |
The field sections a sign-up form may ask for (group, country), with labels in nine languages (more); kyc_sandbox adds a KYC vendor’s sandbox values |
GET /v1/signup-starters |
Starters to build a sign-up form from (id, language, country), each with notes and its spec (more) |
GET /v1/form-sections/{id} |
One section: for an ID or tax number in a country, its format, a fake value that follows it, given only where one can never be a real person’s, and variants (more). kyc_sandbox and kyc_outcome add a KYC vendor’s own sandbox values |
GET /v1/cleanup-list |
Every test address the project used between from and to, live, expired or deleted, to delete those test users from your app (more) |
GET /v1/flow-checks |
The checks to run on a flow (sign_up, password_reset or magic_link) beyond the email arriving, each with its steps, what to expect and why (more) |
GET /v1/journeys |
Labs: Journeys. A site’s journey: the emails the project’s test accounts got from it, in order, with the waits between them, who got each one and its warnings, filtered as on the Journeys page (more) |
GET /v1/addresses/{address}/delivery |
Check an address: what reached it, what we refused, what Cloudflare’s mail servers turned away and why, and a hint |
GET /v1/addresses/{address}/password |
A saved password, for keys allowed to read them |
POST /v1/addresses/sign-in |
The saved test account to sign in with and its password, in one call (site, environment, tags), for keys allowed to read passwords (more) |
PUT /v1/addresses/{address}/password |
Save the password the test account uses now (password, or leave it out to generate one, returned once); any key can save one |
POST /v1/addresses/checkout |
Check out an account from the pool: one matching the filters (tags, country, min_age, max_age, has_password, search, site, environment) that nobody else holds, for minutes (more) |
POST /v1/addresses/{address}/extend, POST /v1/addresses/{address}/return |
Keep it longer, or give it back (token; on return, add_tags and remove_tags record its state) |
POST /v1/runs |
Start a run (name, source, meta): calls that send its id in the Proxy-Mail-QA-Run header add what they saw (more) |
GET /v1/runs, GET /v1/runs/{id} |
List runs, or read one with its evidence; format=markdown gives the report |
POST /v1/runs/{id}/notes, POST /v1/runs/{id}/tests, POST /v1/runs/{id}/finish |
Add a line of your own (text, failed), a test result or the totals, or finish it (failed) |
Endpoints marked Offers or Marketing are for projects that test offers or marketing, set in the app under Project settings → What you test or with PATCH /v1/project and areas. Endpoints marked Labs: Journeys are part of Journeys, a Labs feature the key’s creator switches on in the app under Account settings → Labs; until then they answer 403 forbidden with a message that says so.
Coupons and offers
Section titled “Coupons and offers”After signing up for an offer, wait for its coupon with type=coupon (any for a coupon or a sign-in code). Offers often take minutes, so wait longer or ask again; with since, after_seconds says how long after it the email arrived:
curl "https://api.proxymail.qa/v1/addresses/$ADDRESS/code?type=coupon&since=$SIGNED_UP&timeout=30" -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY"# { "value": "WELCOME20", "subtype": "coupon", "discount": "20% off", "valid_until": "2026-10-31", "after_seconds": 212, … }discount is our reading of the offer (20% off, $10 off, Free shipping, Buy one, get one), and valid_until the date the email says it ends (“valid until 31 October”, “ends Oct 31”, “valid for 7 days”). Each is null when the email doesn’t say. Waits without a type leave coupons out, so a sign-in test never picks up an offer’s code. To check it came in time, GET /checks?since=$SIGNED_UP&expect_within=5m fails arrival_time when it was later.
One offer per person. Mail to name+promo1@… and NAME@… reaches the same inbox, so they make good “second customers” for a one-time or welcome offer. Sign up with the plain address and with versions from GET /variants, wait for each coupon, then GET /v1/addresses/{address}/offers: for each sender, its coupons and the version each went to (plain, capitals or the +tag), reused when two or more versions got one, and same_code when it was one shared code. passed is false when any offer was reused, and each coupon after the first fails offer_reuse in /checks. Gmail’s dot trick can’t be tested here: on these domains a dot makes another address.
At checkout. Apply the coupon with your own tools, on staging with test payments only, then record what the app did:
curl -X POST "https://api.proxymail.qa/v1/addresses/$ADDRESS/coupon-result" \ -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" -H "Content-Type: application/json" \ -d '{"result": "rejected", "code": "WELCOME20", "message": "Code already used", "one_time": true}'result is accepted, rejected or error; code defaults to the newest coupon at the address. Every attempt is kept, and the answer’s check is the coupon_result verdict: it fails a coupon accepted after its end date, accepted for an offer already given to another version of the address, or accepted twice when one_time, and warns on an error or a refusal with no reason for it. With a run, a failed verdict fails it.
Values for a sign-up form
Section titled “Values for a sign-up form”When a form asks for more than an email, send what the page says about each field and get back what to type or pick in each. The values come from a new address made for the form: it gets a date of birth when the form asks for one (adult unless you pass age), a country the form’s drop-down offers (or country), and a password that fits the password field’s min_length, max_length and pattern, saved on the address and shown only in this answer. Pass address to use one made earlier instead, such as for the next screen of a sign-up. A password, date of birth or country that screen asks for is made only when the account has none yet, and a saved password isn’t returned. Without address, a sign-in or password reset form makes no account (409); with it, the form gets only the email or username.
curl -s -X POST https://api.proxymail.qa/v1/form-values -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" \ -H "Content-Type: application/json" -d '{ "fields": [ { "id": "email", "type": "email", "label": "Email" }, { "id": "user", "name": "username", "label": "Username", "max_length": 15 }, { "id": "pw", "type": "password", "label": "Password", "min_length": 12 }, { "id": "dob", "type": "text", "label": "Date of birth", "placeholder": "DD/MM/YYYY" }, { "id": "country", "type": "select", "label": "Country", "options": [{ "value": "de", "label": "Germany" }, { "value": "uk", "label": "United Kingdom" }] }, { "id": "terms", "type": "checkbox", "label": "I agree to the terms" } ] }'# { "address": "k7f2x9ab12cd@mailclub.dev", "created": true, "password": "…", "persona": {…},# "values": [ { "id": "email", "kind": "email", "value": "k7f2x9ab12cd@mailclub.dev" },# { "id": "dob", "kind": "date_of_birth", "value": "04/05/1990" },# { "id": "country", "kind": "country", "value": "uk" },# { "id": "terms", "kind": "other", "value": null, "note": "A consent box: tick it or not as your test needs." }, … ] }Each field can have an id (yours, returned with its value), type (or select, textarea, or radio for a group of radio buttons sent as one field with its options), name, label, placeholder, autocomplete, test_id (its data-testid, data-test, data-cy or data-qa), html_id (its id attribute), group (what the group around it says, such as “Date of birth” above day, month and year drop-downs, or the question a group of tick boxes answers), multiple (true for a drop-down that takes several answers, or a list the page draws itself that does, such as a box of chips), pattern, min_length, max_length, min, max and step (numbers, or dates for a date field), required and options (value, label and disabled). Day, month and year fields each get their part, a date picker gets YYYY-MM-DD, and a typed date gets the format its label or placeholder spells out (US order with a note when nothing says). Proxy Mail QA never sees or fills in the page: you do, then wait for the code or link as usual. For a sign-up over several screens, send each screen’s fields as you reach it, with the same address and that screen’s site and page. In a native app, send the screen’s name as screen instead of page: the answer’s screen is the sign-up screen it was recorded as.
Custom fields and guesses
Section titled “Custom fields and guesses”A form’s own fields, such as company size or “How did you hear about us?”, get what the project’s custom fields say: kind: "custom", with the custom field’s rule (id and name) and its value, checked (true or false) for a tick box, values (the value of each option to select, with value: null) for a field sent with multiple, or leave: true when it says to leave the field. Send each tick box as a field of its own, with the same name or group, and each comes back with checked. Send site and page on every call, later screens included, so custom fields for one site or page apply: the page’s host and path, or its full address in either one. Without them, only the ones for every site do.
Other fields nobody taught get a guess from what they suggest: an example in the placeholder, one of the options, the pattern, the label or the type. A guess has kind: "guess", from (placeholder, option, pattern, words or type) and a note: check it suits your test. Which fields are guessed is the project’s setting (every field, required fields only, or none), and guess (all, required or off) changes it for one call. Payment fields, ID numbers, secrets, CAPTCHAs, consent boxes, uploads and codes from somewhere else are never guessed: they come back with value: null and a note saying why. A phone field is never guessed: the project’s ready-made Phone number fills it with a number set aside for fiction, in the UK, Australia, the US and Canada, or your app’s own test number for the account’s country. With neither, it comes back with value: null and a note; add your app’s test number, never a real person’s, to the Phone number’s phones (POST /v1/project/custom-fields, leads only) so every fill gives the same number. So does a field whose pattern only makes a number shaped like a phone or ID number, such as [0-9]{11}; a postcode field still gets its pattern’s value.
What custom fields and guesses gave is kept on the address (custom_answers). A new address takes a custom field’s username and names as its own; an address made earlier keeps its persona, and the username or name used is kept as the one used on that site, which signing in again uses first.
Custom fields
Section titled “Custom fields”Custom fields are set per project in Project settings → Custom fields, in Proxy Mail QA for Chrome 0.9.0 and later, or through the API (how they work). Each one recognises a field by words its label or name contains (match.on: "words", 3 to 100 characters, or 2 in Chinese, Japanese or Korean, with up to 9 more phrases in match.also, such as its label in your site’s other languages) or by its exact test ID, name or ID (test_id, name, html_id), on every site (site: null) or one site (its host or a site pattern, which needn’t be one of the project’s sites yet; a blocked site is refused) and, optionally, a page (path: "/signup" covers /signup/business and /de/signup too). Saving replaces the whole custom field, so send every phrase to keep. Its value is one of:
{ "kind": "text", "text": "Testing the sign-up" }{ "kind": "template", "template": "qa_{username}" }, with{first_name},{last_name},{full_name},{username},{email},{company},{country}and{digits:N}(N from 1 to 12){ "kind": "option", "option": "11–50" }, the option to pick{ "kind": "list", "items": ["Search", "A friend", "Social media"] }, one picked for each account{ "kind": "options", "options": ["Slack", "Figma"] }, every one of them for every account: 1 to 20, for a group of tick boxes (the ones not listed are unticked, though a consent box, a marketing box or a box with its own custom field is left as it is) or a drop-down that takes several answers, never radio buttons{ "kind": "checkbox", "checked": true }{ "kind": "generate" }, Proxy Mail QA makes up a value that suits the field, the same for the same account (any field but a tick box, never a personal ID field){ "kind": "leave" }, to leave the field as it is
curl -s -X POST https://api.proxymail.qa/v1/project/custom-fields -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" \ -H "Content-Type: application/json" -d '{ "name": "Company size", "match": { "on": "words", "text": "company size" }, "site": "https://staging.example.com/*", "value": { "kind": "option", "option": "11–50" }, "tag_answer": true }'# { "status": "saved", "field": { "id": "…", "name": "Company size", … } }tag_answer (an option or a list only) tags the account with its answer. A project has up to 50 custom fields. Payment fields can’t have one, and a value that looks like a card number, a private key, or an API key or token in one of the listed formats is refused: use made-up test data. A template with {digits:N} is refused on a custom field for a personal ID, such as a passport or National Insurance number: give it a fixed test value.
PATCH with { "id": "…", "enabled": false } turns one off: fills then ignore it, as if it weren’t there, and it’s still listed, with enabled: false. What off means.
PATCH /v1/project/standard-fields with { "field": "company", "on": false } turns off a standard field (company, first_name, last_name or full_name): that box is then left empty, and form-values gives it value: null with a note. What off means.
Locked projects. When a project is locked (Project settings → General), only its leads change its sites and custom fields. A key acts as the person who made it, so if they aren’t a lead, POST, PATCH (a custom field’s or a standard field’s) and DELETE ask the leads instead: the answer is 202 with status: "requested" and the request, which a lead approves or declines in Project settings. Up to 20 requests can wait on a project.
Sign-up screens
Section titled “Sign-up screens”Each of the project’s sites keeps a list of the screens its sign-up goes over, and a setting, Sign-up goes over several screens (multi_step), that has Proxy Mail QA for Chrome 0.9.0 and later fill each later screen there by itself (how it works). GET /v1/project/sites lists the sites with their screens, the native app’s screens with no site (app_screens), and your requests waiting for a lead.
curl -s https://api.proxymail.qa/v1/project/sites -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY"# { "locked": false, "you_lead": true, "app_screens": [], "waiting": [],# "sites": [ { "id": "…", "pattern": "https://staging.example.com/*", "environment": "staging", "multi_step": false,# "screens": [ { "id": "…", "kind": "path", "value": "/signup/team", "label": "Team details", "status": "kept", … } ] } ] }POST adds a site: a host or a page’s address on it, and its environment. It takes only a host that doesn’t look live: a local server (localhost:3000 adds http://localhost/*, every port), or a host with a test word in it such as staging, dev, qa, preview or sandbox, and never the environment production. A host that looks live is refused (403) with a link that opens Add a site in the app with the address in it, where a person adds it and confirms it’s a test site. A * is refused too: add one host at a time. It answers 201 for a new site and 200 for one already listed, which stays as it is. Adding a site doesn’t give Chrome access: each person gives that once, from Proxy Mail QA for Chrome’s popup on the site. Sites are removed only in the app.
curl -s -X POST https://api.proxymail.qa/v1/project/sites -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" \ -H "Content-Type: application/json" -d '{"site": "staging.example.com", "environment": "staging"}'# { "status": "saved", "site": { "pattern": "https://staging.example.com/*", "environment": "staging", "multi_step": false, "screens": [] } }Turn the setting on or off for one site with PATCH, sending the site’s host or its pattern:
curl -s -X PATCH https://api.proxymail.qa/v1/project/sites -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" \ -H "Content-Type: application/json" -d '{"site": "staging.example.com", "multi_step": true}'# { "status": "saved", "site": { "pattern": "https://staging.example.com/*", "multi_step": true, … } }POST /v1/project/sites/screens adds a page to a site’s list (site and page: its path or address, without the query), or a native app screen by its name (screen, with site, or without it for the app screens). It also keeps a screen listed as suggested, or names one (label; empty removes the name). It answers 201 for a new screen and 200 for one already listed. Send page or screen, not both. A site has up to 20 screens, and a project up to 20 app screens. A path with an email address in it is refused. Don’t add one with an id or a token in it either: it was made for one sign-up. DELETE /v1/project/sites/screens/{id} removes a screen.
curl -s -X POST https://api.proxymail.qa/v1/project/sites/screens -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" \ -H "Content-Type: application/json" -d '{"site": "staging.example.com", "page": "/signup/team", "label": "Team details"}'# { "status": "kept", "screen": { "id": "…", "kind": "path", "value": "/signup/team", "label": "Team details", "status": "kept", … } }Screens are also added as suggested when Proxy Mail QA for Chrome 0.9.0 and later fills a later screen, and when POST /v1/form-values gets site with page, or screen in a native app, unless the list is full (20). When it’s full, a fill takes the place of a suggested screen nobody has seen for 30 days, and POST /v1/form-values adds nothing and removes nothing. Saving a screen doesn’t change multi_step. On a locked project, a key whose creator isn’t a lead gets 202 with status: "requested": a screen it saves is listed as suggested until a lead keeps it, and a change to multi_step applies once a lead approves it.
Variants of an address
Section titled “Variants of an address”Wherever the API takes an address, a variant works too: capitals, or a plus tag such as k7f2x9ab12cd+o'brien@mailclub.dev (URL-encoded in the path). It acts on the plain address, and a wait or message list for a +tag variant only finds mail sent to that variant. See Unusual email addresses.
Names and passwords
Section titled “Names and passwords”The form’s other fields get the same treatment. GET /v1/variants/names?field=first_name&max_length=50 lists names in four groups: accept (a real person’s name: O'Brien, Smith-Jones, José, Straße, 李, Мария, محمد, สมชาย, one letter, exactly the maximum), reject (one over the maximum, empty, only spaces), store_as_text (<b>Jane</b>, a script tag, a SQL injection, {{7*7}}: the app should store and show them exactly as typed, never run them) and decide (digits, symbols, an emoji, spaces around, composed and decomposed accents, and 64, 128 and 255 characters when no maximum is given: apps differ, so note what the app did). GET /v1/variants/passwords?min_length=8&max_length=64&symbols=true does the same for a password: accept (exactly the minimum and the maximum, each symbol class including quotes, a backslash and a space, non-ASCII letters), reject and decide (only digits, only lower case, a space at the start or end, an emoji, and a pair sharing their first 72 bytes when the maximum allows, which bcrypt stops at). Passwords are fresh each call. Each entry has tests (what it checks) and value (what to type). See Unusual names and passwords.
Dates of birth
Section titled “Dates of birth”Add "age": "under13" (or adult, over21, under18, under15, any, turns18tomorrow, turned18today) to give the persona a date of birth in that range, or send your own as "date_of_birth": "2012-05-01". It comes back as persona.date_of_birth, YYYY-MM-DD, and only when the address has one.
Finding a test account again
Section titled “Finding a test account again”GET /v1/addresses takes filters, so a test or agent can come back to an account it made earlier instead of creating another. Every filter given must match:
tag: repeat it, or separate tags with commas, to need all of themcountry: the persona’s country, such asGBmin_ageandmax_age: age today in whole years, from the persona’s date of birth (max_age=17finds under-18s); addresses without a date of birth don’t matchhas_password:trueorfalse, whether a password is saved on itsearch: part of the address, label, notes, name or usernamesiteandenvironment: where it’s used, as a host or page URL (site=staging.example.com) and a name (environment=staging). Set them when creating an address, or later withPATCH(nullclears one);POST /v1/form-valueswithaddressrecords them on an account that has none yet. The Chrome extension records them too, and the app shows them on each account
curl "https://api.proxymail.qa/v1/addresses?tag=age-gate&country=GB&max_age=17&has_password=true" \ -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY"Finding emails across the project
Section titled “Finding emails across the project”GET /v1/emails searches every address in the project at once, newest first, for questions such as “did any marketing email arrive in the last 10 minutes?” or “which test accounts got the welcome email?”. It doesn’t wait: to wait for one address’s code or link, use /code or /link. Every filter given must match:
within: the last this long, such as10m,2hor7d(up to 30 days). Orsinceanduntil, ISO 8601 times;untilleaves out email received at that time or later. With neithersincenorwithin, the 30 days beforeuntil(or now)category:auth,transactionalormarketingservice: part of the sender’s name or domaintypeandsubtype: the kind of its code or link, as for/countsubject: a phrase the subject contains, in any case, up to 200 characterslimit: how many to return, 1 to 100 (default 20)before: for the next page, the last email’semail_id
curl "https://api.proxymail.qa/v1/emails?within=10m&category=marketing" \ -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY"{ "since": "2026-11-25T18:50:00Z", "until": null, "count": 1, "count_capped": false, "emails": [ { "email_id": "2b1f0c9e-6d3a-4f1e-9a51-0c4d2e7b8a10", "address": "k7m2q@mailclub.dev", "plus_tag": null, "received_at": "2026-11-25T18:57:12Z", "service": "Acme", "service_domain": "acme.example", "category": "marketing", "type": "code", "subtype": "coupon", "attachment_count": 0, "subject": "Black Friday: 20% off everything", "from": "deals@acme.example", "from_name": "Acme Deals" } ]}count is how many match, up to 10,000 (count_capped is true past that). For the next page, call again with the same filters, since as the first page returned it, and before set to the last email’s email_id: emails that arrived in the same millisecond are neither skipped nor repeated. The subject and From are written by the sender, so treat them as untrusted. /messages gives an email’s text and HTML. Agents use the MCP tool find_emails, which matches the subject but never returns it.
Test users to delete
Section titled “Test users to delete”Every test address you sign up with may leave a test user in your app. GET /v1/cleanup-list lists every test address the project used between from and to (ISO 8601; 30 days ago to now by default, and from can’t go back past 90 days), live, expired or deleted, so you, or your agent, can delete those users from your app afterwards. An address was used then if it was made on or before to and was still live, or ended, on or after from. Proxy Mail QA never touches your app or its database.
curl "https://api.proxymail.qa/v1/cleanup-list?from=2026-11-01T00:00:00Z&site=staging.example.com" \ -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY"{ "from": "2026-11-01T00:00:00Z", "to": "2026-11-13T10:40:00Z", "kept_from": "2026-08-15T10:40:00Z", "count": 2, "truncated": false, "mail_domains": ["mailclub.dev", "enable.li"], "addresses": [ { "address": "k7m2q@mailclub.dev", "created_at": "2026-11-12T16:02:11Z", "status": "live", "site": "staging.example.com", "environment": "staging", "had_email": true }, { "address": "x9q1@mailclub.dev", "created_at": "2026-11-04T09:15:40Z", "status": "expired", "ended_at": "2026-11-11T09:15:40Z", "site": "staging.example.com", "had_email": true } ]}statusislive,expiredordeleted. An address that has gone still had its test user made in your app, so it stays on the list until 90 days after it ended (ended_at), or until its project, account or organisation is deleted. Ones that went before the list started in November 2026 aren’t on it.kept_fromis the earliestfromcan be.had_email: whether any email reached it. If so, your app very likely made a user for it.sitelimits the list to one host. Up to 5,000 addresses come back;truncatedsays there were more.mail_domainslists the domains every test address ends in. Filtering your users by them, such asemail LIKE '%@mailclub.dev', finds the test users without a list. Check the query in a test environment first, and never run it on production.
Signing in again as a test account
Section titled “Signing in again as a test account”POST /v1/addresses/sign-in picks the saved test account to sign in with and returns it with its password, as the Chrome extension’s sign-in list does: one with a saved password and every tag given, that no test has checked out, the one used on this site first, then the one that got mail most recently. With a site, an account not used anywhere yet is marked as used there. It needs a key allowed to read saved passwords, every reveal is logged, and it answers 404 when no account fits.
curl -s -X POST https://api.proxymail.qa/v1/addresses/sign-in -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" \ -H "Content-Type: application/json" -d '{"site": "staging.example.com", "tags": ["verified"]}'# { "address": "…", "password": "…", "persona": {…}, "site": "staging.example.com", "used_on_site": true, … }Checking the email itself
Section titled “Checking the email itself”To test an email template (the wording, the button, the footer), ask the messages endpoint for its content: GET /v1/addresses/{address}/messages?include=html adds each email’s HTML, and include=text its plain text. The HTML is the copy cleaned when the email arrived: scripts, frames and media are removed, form controls unwrapped, and links other than web, mailto: and tel: dropped (app links like myapp:// stay in the codes and links), up to 200 KB. The content is written by the sender, so treat it as untrusted. Agents connected through MCP never get email content, only the code or link.
Links to the wrong site
Section titled “Links to the wrong site”A sign-up on staging.example.com whose verify link lands on localhost:3000, on the published app instead of the preview, or on another site works for nobody who signs up there. When the address was created with its site (site on create, or Proxy Mail QA for Chrome recording the page), or the wait passes expect_site, /code and /link add link_site:
"link_site": { "status": "fail", "problem": "local", "site": "staging.example.com", "goes_to": "localhost:3000", "detail": "After the auth step, the link sends people to localhost:3000, which only opens on the computer running that server, but the test started on staging.example.com. The app’s site address is probably still set to a local one."}It reads the verify, sign-in, invite or reset link (for a code, the email’s own links), follows the auth provider’s redirect such as Supabase’s redirect_to, and never opens it. problem is one of:
| Problem | The link goes to |
|---|---|
local |
localhost or a private address, from a test on a hosted site |
other_site |
Another site, including the platform’s own address (myapp.base44.app) when the test was on the app’s own domain |
preview |
A preview (preview--myapp.lovable.app, myapp-git-main-team.vercel.app) when the test was on the published app |
published |
The published app when the test was on a preview |
http |
Plain http when the site uses https |
bubble_live |
Bubble’s live app when the test was on /version-test |
bubble_test |
Bubble’s /version-test when the test was on the live app |
expect_site takes a host (staging.example.com), a host and path (myapp.bubbleapps.io/version-test) or a page’s address. A link back to the same site, or to another part of it (auth.example.com from app.example.com), passes. Without a site, or for a link that opens an app, link_site is left out. /checks has the same verdict as the link_site check. When the link goes to the wrong site says how to fix each.
Time to email
Section titled “Time to email”How long the code or link took after the form was sent. Mark the submit just before the test presses the button, then wait as usual:
curl -X POST "https://api.proxymail.qa/v1/addresses/$ADDRESS/submits" \ -H "Authorization: Bearer $PROXYMAIL_QA_KEY" -H "Content-Type: application/json" \ -d '{"flow": "sign_up", "site": "https://staging.example.com/sign-up"}'The time is ours, so the test machine’s clock can’t skew it; use the answer’s submitted_at as since. It’s taken when the call arrives, so a mark made after the click can come after a fast email, and the wait would miss that email. The site is kept as host and path, with any part of the path that has an email address, an ID, a long number or a token in it hidden; never its query or fragment. Never send the form’s contents. Proxy Mail QA for Chrome marks each sign-up, password reset request and sign-in by code or link it sees sent, so the app shows the same for tests by hand. The /code or /link that finds an email within 15 minutes of the submit adds:
"time_to_email": { "submitted_at": "2026-11-13T10:00:00.000Z", "flow": "sign_up", "site": "staging.example.com/sign-up", "source": "agent", "after_seconds": 4.2, "their_seconds": 3.7, "our_seconds": 0.5, "emails_for_submit": 1, "position": 1, "after_wait_gave_up": false, "usual": { "submits": 38, "arrived": 37, "nothing": 1, "median_seconds": 3.9, "today_median_seconds": 4.2, "slowest_seconds": 41, "slower_than_usual": false }}their_secondsis the app and its email provider, up to Cloudflare’s mail server, andour_secondsis Proxy Mail QA from there, read from the email’s Received header (null when it can’t be read).emails_for_submitof 2 or more: one submit brought several codes or links, so the app sent twice.after_wait_gave_up: a wait had already found nothing when it came.usualcovers the last 30 days of this site and flow in the project:median_secondsis before today,nothingcounts submits that got no email, andslower_than_usualis true when today’s median is more than twice the usual and over 5 seconds longer.
With a run, the report says the form was sent and how long each email took after it.
Countries
Section titled “Countries”Add "country": "GB" (any ISO 3166-1 alpha-2 code, in either case) for sign-up forms that ask where someone lives, or to test location-based content. It comes back as persona.country, upper case, and only when the address has one. Change or clear it with PATCH and "country": null. Agents connected through MCP pass country to create_address and update_address too.
How waiting works
Section titled “How waiting works”A wait returns the newest matching code or link received in the last 15 minutes, or holds for up to 30 seconds (timeout, 0 to 30) until one arrives, then answers 404. Pass since to ignore anything older, for example the time your test submitted the form. Filter by sender with service=spotify.
A code or link counts as used once a wait returns it, or someone opens, copies or fills it in the app or Proxy Mail QA for Chrome. The app shows it as used, and unused=true on a wait skips it: for a test that asks for a second code without changing since. When a wait without since or unused returns a code or link that was already used, the match has a note saying how to get a newer one. A wait with unused=true that finds only used ones says so in its 404’s hint.
Checking that an email didn’t arrive, or arrived once
Section titled “Checking that an email didn’t arrive, or arrived once”Some tests pass when nothing happens: an unsubscribed user gets no newsletter, a second reset request within a minute is refused, a sign-up sends one verification email, not two.
GET /v1/addresses/{address}/none?since=…&timeout=20holds like a wait. If no matching email arrives, it answers 200 with"arrived": falseanduntil, the time it watched up to. As soon as one arrives it answers 409 with"error": "email_arrived", thecount, and the first email’s time, service and kind, socurl --failfails the step. Passsinceas the time of the action, so an email that came before the call still counts; without it, it watches from the request. For longer, adduntil(up to 60 minutes aftersince) and call again with the samesinceanduntilwhile the answer says"done": false;seconds_leftsays how long is left.GET /v1/addresses/{address}/count?since=…answers at once withcountand the first 50 emails, oldest first. For “exactly one”, count after the wait for the first email has returned and a duplicate has had time to arrive.
Both filter like a wait: service, and type=code (codes other than coupons) or type=link (verify, magic sign-in, invite and reset links), narrowed with subtype, such as type=link&subtype=reset, and by category. For “an unsubscribed user gets no newsletter”, use category=marketing, so a receipt or password reset that should still arrive doesn’t fail it. A +tag variant counts only its own mail. Neither returns what the emails say: each is summarised by received_at, service and the type and subtype of its main code or link. The Node.js client has countEmails and expectNoEmail, and the Python helper count_emails and expect_no_email.
Email types, unsubscribe links and attachments
Section titled “Email types, unsubscribe links and attachments”Each email that arrives is given a type, with the reasons for it:
category |
When |
|---|---|
auth |
Its main code or link signs in, verifies, resets a password or invites, or its subject says it does |
transactional |
Its subject reads like a receipt, order, payment, booking or security notice, or an invoice PDF or calendar invite is attached; and anything that isn’t sign-in or marketing |
marketing |
It has List-Unsubscribe, List-Unsubscribe-Post or List-Id headers, Precedence: bulk, a coupon, a promotional subject or an unsubscribe link |
Receipts come before marketing on purpose: a receipt with a “10% off next time” code is still a receipt. /count, /none and /checks take category, and /count gives each email’s category, gap_seconds (since the previous one) and its attachments’ types, extensions and sizes. Emails that arrived before types were added have none.
An email’s unsubscribe links are kept as values: GET /link?type=unsubscribe gives its own unsubscribe or email-preferences link, and type=list_unsubscribe the List-Unsubscribe header’s, the one Gmail’s Unsubscribe button uses. To do what that button does, POST List-Unsubscribe=One-Click to it with your own tools. Proxy Mail QA never opens either.
Attachments are kept as each file’s name, type and size, never the file. GET /checks?expect_attachment=.pdf (repeat it for more) fails expected_attachment when one is missing; a pattern is a type (application/pdf, image/*), an extension (.ics) or a file name with * (invoice-*.pdf). /messages lists them with their names.
Unsubscribe watches
Section titled “Unsubscribe watches”To test that unsubscribing works, unsubscribe the address with your own tools: open the email’s unsubscribe link (GET /link?type=unsubscribe), or POST List-Unsubscribe=One-Click to the header’s link (type=list_unsubscribe). Then record it:
curl -X POST "https://api.proxymail.qa/v1/addresses/k7f2x9ab12cd@mailclub.dev/unsubscribed" \ -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" -H "Content-Type: application/json" \ -d '{"email_id": "…", "at": "2026-10-19T10:02:00Z"}'email_id is the email you unsubscribed from; service (a name or a domain such as acme.com) works too, and with neither, the newest marketing email decides. at backdates it; marking twice is harmless. grace (such as 2h or 1d, up to 30 days) lets marketing that was already on its way through: an email inside it doesn’t count. From then on, any marketing email from that sender fails after_unsubscribe in /checks, however long after, and shows on the Reports dashboard. Receipts, password resets and sign-in emails never count. GET /unsubscribed lists each watch with the emails that came after it (after_unsubscribe: ids, times and after_seconds, never their content) and passed; with a run, a failed check fails it. DELETE /unsubscribed?service=acme.com records that the address subscribed again.
For a check inside the test, trigger another campaign and hold GET /none?category=marketing&since=…&until=… open for a few minutes.
A series of emails
Section titled “A series of emails”For a welcome series or drip campaign, POST /v1/addresses/{address}/sequence checks each email came in order and on time:
curl -X POST "https://api.proxymail.qa/v1/addresses/$ADDRESS/sequence" \ -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" -H "Content-Type: application/json" \ -d '{"since": "2026-10-01T10:00:00Z", "steps": [{"subject": "Welcome"}, {"subject": "tips", "after": "1d"}, {"category": "marketing", "after": "7d", "within": "12h"}]}'Each step can name a phrase from its subject, its category, its type (code or link), after (when it should come, from since, up to 90 days) and within (how far off still passes; default a tenth of after, at least 10 minutes). Each takes the first fitting email after the step before, and answers pass, early, late, missing or waiting (not due yet), with received_at and off_seconds. done is false while any step is waiting, so check again later. Subjects are matched on the server and never returned.
Journeys
Section titled “Journeys”GET /v1/journeys returns a site’s journey, as the Journeys page in the app draws it: the emails the project’s test accounts got from that site, in order, combined into one map. It’s part of Journeys, a Labs feature the key’s creator switches on under Account settings → Labs; until then it answers 403 forbidden with a message that says so.
curl "https://api.proxymail.qa/v1/journeys?site=staging.example.com&country=DE,GB&age=18-24" \ -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY"It takes the page’s own filters, so the query from the page’s address works here too:
| Parameter | What it does |
|---|---|
site |
The journey: a site’s host, or sender:<domain> for accounts with no site. Defaults to the one the address account is in, else the first one listed, the site with most accounts |
phase |
Only one phase’s steps: after_signup, signing_in, password_reset, invites or ongoing. The sentence and the counts stay whole |
country, country_unknown=1 |
Accounts whose persona is in any of these countries (ISO codes such as GB, separated by commas), or has no country |
age, age_unknown=1 |
Accounts in any of these bands by their age today (under-18, 18-24, 25-34, 35-44, 45-54, 55-plus), or with no date of birth |
any_tags |
Accounts with any one of these tags |
address |
One account’s own journey, with its real waits; the other filters are then ignored. With no site, it comes from the journey the account is in |
got_step, not_got_step |
Accounts that got every one of these steps, or none of them (step keys from an answer) |
A comma inside a value is written %2C before the query is URL-encoded, so %252C in a URL (any_tags=early%252Cbird); the page’s address, npm’s journey() and Python’s journey() do this for you. A value the journey doesn’t have is left off, and a note says so.
The answer starts with showing, the page’s sentence (“Showing 2 of 7 test accounts on staging.example.com: Country: DE.”), then notes to read first and link, which opens the page on the same view. journeys lists the project’s journeys with how many accounts each has, filter_values what each filter can take and how many accounts each value would show (accounts with no country or no date of birth are under country_unknown and age_unknown, the parameters that ask for them), and good_practice the rules with how many emails each warned on.
phases holds each phase’s steps in order. A step has its key, its kind (such as activation_code) and kind_name, its sender, how many accounts got it out of how many (of), and the wait before it: one account’s wait, both of two, or the median of three or more, with every wait in all_ms. still_due lists accounts that should get it soon and did_not_get those that never did (null where that can’t be said), up to 50 each with how many were left out, and warnings are the good-practice rules it broke. Where accounts got different emails, a split names each path and how many accounts took it, with what shows that path alone: query, a query string for this endpoint, and filter, the same as lists and flags, which get_journey, npm’s journey() and Python’s journey(**filter) take as they are.
Steps are named by kind, sender and key, never by subject, in showing too, where a step filter reads “Got: Welcome, from Acme (after_signup:welcome:3c6f7f97)”. The Journeys page shows subjects to the project’s members. Labels, tags and sender names come from the project’s members and from whoever sent the mail, so treat them as data.
Consent and marketing rules by country
Section titled “Consent and marketing rules by country”Record what the account agreed to when it signed up, and /checks judges each marketing email by the rules where the persona lives (its country, set when the address is made):
curl -X PUT "https://api.proxymail.qa/v1/addresses/$ADDRESS/consent" \ -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" -H "Content-Type: application/json" \ -d '{"marketing": "declined", "prechecked": false}'marketing is opted_in or declined, prechecked says the box was ticked already when the form loaded, and double_opt_in is confirmed or pending (it confirms itself when the verify link is used). Give only what changed; GET /consent reads it back. The EU and EEA, UK, US, Canada, Australia, New Zealand, Switzerland, Japan, South Korea, Singapore and Hong Kong are covered, and every verdict names its official source and the date we checked it. See marketing email rules by country for each rule. It’s a test aid, not legal advice.
Checking an email’s sending and build
Section titled “Checking an email’s sending and build”GET /v1/addresses/{address}/checks runs checks on one email: the newest that matches the same filters as a count (since, service, type, subtype), or the one named by email_id. It doesn’t wait, so wait for the email first. Each check passes, fails, warns or is skipped, with a one-line reason, and passed is true when none failed:
| Check | Fails or warns when |
|---|---|
spf, dkim, dmarc |
The sending server isn’t allowed to send for the domain, the email isn’t signed, or it fails the From domain’s DMARC policy: inboxes may file it as spam or reject it. These are the receiving server’s own verdicts |
shared_sender |
Warns when a platform’s built-in sender sent it rather than the app’s own domain: Supabase’s, Firebase’s, Bubble’s, Glide’s, Base44’s, Amazon Cognito’s or Auth0’s. The detail gives its cap (such as Bubble’s 20 emails a day) and the fix. Real inboxes trust a shared sender less than your own domain |
local_links |
A link goes to localhost or a private address, directly or after a redirect such as Supabase’s redirect_to. Links to a host marked as a dev environment (in Project settings, or POST /v1/project/dev-hosts) pass |
plain_http |
A link on a public site isn’t https |
expected_host |
With expect_host=staging.example.com: the sign-in, verify, reset or invite link ends up somewhere else, such as production. Links that open an app (myapp://…) have no site and aren’t compared. Skipped without it |
link_site |
The sign-in, verify, reset or invite link doesn’t go back to the site the test started on: expect_site, or the site the address was created with. See Links to the wrong site. Skipped without either |
expiry |
The email doesn’t say when its sign-in code or link stops working (a warning; skipped for other links, such as a newsletter’s) |
coupon_expiry |
Offers. The email has a coupon but doesn’t say when it ends, such as “valid until 31 October” or “valid for 7 days” (a warning). Every coupon in it counts, not only the main code. Skipped when there’s no coupon |
plain_text |
There’s no plain-text version (a warning) |
size |
The HTML is over 102 KB, where Gmail cuts it off (a warning) |
images_only |
It’s almost all images, so with images off it says almost nothing |
layout |
It may not fit a phone: parts fixed wider than 640 px with no mobile styles (@media), images without alt text (blank with images off), or text under 11 px. A warning, from the HTML alone, without rendering it |
expected_text |
With expect_text (repeat it for up to 10 phrases): the subject or body is missing one, such as the user’s first name or the product name. Case, curly quotes and spacing don’t matter, and the reason names only the missing phrases. Skipped without it |
expected_attachment |
With expect_attachment=.pdf (repeat it for more): one of them isn’t attached. Skipped without it, or for an email that arrived before attachments were recorded |
arrival_time |
With since and expect_within=5m (or 90s, 2h, a number of seconds): it arrived later than that after since, such as a welcome coupon that took 14 minutes. Skipped without it |
list_unsubscribe |
Marketing. Marketing email only: there’s no List-Unsubscribe header (it fails), or it has only an email address or a plain http one (it warns). Inboxes show their own Unsubscribe button with it, and Gmail and Yahoo require it of bulk senders |
one_click_unsubscribe |
Marketing. Marketing email only: no List-Unsubscribe-Post: List-Unsubscribe=One-Click header with an https address, or a DKIM signature that verified doesn’t cover both List-Unsubscribe headers (RFC 8058 requires it, and inboxes then don’t offer one-click), so an inbox’s button can’t unsubscribe in one step (a warning) |
unsubscribe_link |
Marketing. Marketing email only: the email itself has no unsubscribe or email-preferences link |
after_unsubscribe |
Marketing. Marketing email only: it came after the address unsubscribed from its sender (see Unsubscribe watches). Skipped when the address isn’t marked as unsubscribed from it |
offer_reuse |
Offers. A coupon from a sender that already sent one to another version of the address (name+promo1@…, capitals): the app treated one person as several. Skipped for emails without a coupon |
coupon_result |
Offers. What checkout did with its coupon, once a result is recorded: accepted after its end date, for a reused offer or twice when one-time (it fails); an error, or a refusal on first use within its dates (it warns). Skipped with no result |
marketing_consent |
Marketing. Marketing email to an account that declined it, where consent is needed first (EU and EEA, UK, Canada, Australia, New Zealand, Switzerland, Japan, South Korea). Skipped in the US, or when consent isn’t recorded |
prechecked_consent |
Marketing. Consent came from a pre-ticked box (EU and EEA, UK) |
double_opt_in |
Marketing. Marketing before the address confirmed its subscription: a warning in Germany, a failure where the project requires double opt-in |
unsubscribe_deadline |
Marketing. Marketing after an unsubscribe: a warning inside the time allowed (US, Canada, Singapore and Hong Kong 10 business days, Australia and New Zealand 5, EU, UK, Switzerland, Japan and South Korea promptly), a failure after it |
postal_address |
Marketing. No postal address found in a marketing email (US, Canada; a warning) |
sender_identity |
Marketing. The From line names no sender (a warning) |
minor_marketing |
Marketing. Marketing to a persona under 13 in the UK or 16 in the EU and EEA (a warning) |
misleading_subject |
Marketing. US, Canada, Hong Kong: a subject that starts like a reply or forward (Re:, Fwd:), or says the offer ends today when its coupon lasts days longer (a warning; Washington’s and California’s laws apply to US personas) |
ad_label |
Marketing. Singapore: marketing to an account that declined it whose subject doesn’t start with <ADV> (a warning) |
harmful_attachment |
Spam checks. An attachment is a file type Gmail blocks (.exe, .js, .iso and others), or a program named to look like a document (.pdf.exe): it fails. Office files that can carry macros, HTML or SVG pages and archives warn. The reason names extensions, never files. Skipped without attachments |
spam_risk |
Spam checks. An inbox score out of 10, where 10 is good (inbox_score): 10 less the points of each marker spam filters weigh (markers, each with its points). It fails at 5 or below, where inboxes would likely reject the email or file it as spam, and warns at 8.5 or below. score, the spam points (10 less inbox_score), is deprecated. Hard blockers take 5 or 6 off: DMARC failing with a reject or quarantine policy, neither SPF nor DKIM passing, a blocked attachment. Then 2 to 3: no DMARC policy, no DKIM, almost all images, a link to a bare IP address, a link shortener, marketing without a List-Unsubscribe header. Then up to 1.5: SPF failing, risky attachments, unsigned one-click unsubscribe, a marketing subject starting with Re:, a subject in capitals or with !!!, classic spam phrases, link text showing another site, no plain text. An estimate: inboxes also weigh the sender’s reputation, which only they can see |
preheader |
Marketing. Marketing email only: no hidden preview text at the start of the HTML, so inboxes show its first words instead, often “View in browser” (a warning) |
code_length |
Labs: Journeys. The sign-in code is under 6 or over 8 characters: shorter is easy to guess, longer is hard to type (a warning). Coupons don’t count. Skipped when there’s no sign-in code |
link_length |
Labs: Journeys. The main sign-in, verify, reset or invite link is over 2,000 characters, where some email apps and browsers cut it off (a warning). Skipped when there’s no such link |
auth_length |
Labs: Journeys. A sign-in email whose body is over 150 words, so the code or link is harder to find (a warning). Skipped for other emails |
subject_length |
Labs: Journeys. The subject is over 60 characters, where inboxes cut it short, or there’s none (a warning) |
one_action |
Labs: Journeys. A sign-in email with more than one code or action link, such as a code and a sign-in link together (a warning). A link to the website and one that opens the app count once; unsubscribe links and coupons don’t count. Skipped for other emails |
language |
With expect_language=de (or pt-BR): it’s in another language. It warns when there’s too little text to tell. English, German, French, Spanish, Italian, Dutch, Portuguese, Swedish, Polish, Turkish, Finnish, Russian, Ukrainian, Japanese, Chinese, Korean, Arabic, Hebrew, Greek, Thai, Hindi, Urdu and Indonesian. Skipped without it |
Checks marked Offers or Marketing are left out unless the project tests Offers or Marketing (either one brings them all), and checks marked Spam checks unless the project’s spam checks are on. Both are set in Project settings → What you test, or with PATCH /v1/project (areas, spam_checks).
Checks marked Labs: Journeys (code_length, link_length, auth_length, subject_length and one_action) are left out until the key’s creator switches on Journeys, a Labs feature, in the app under Account settings → Labs. The reasons of those five give numbers only.
curl "https://api.proxymail.qa/v1/addresses/k7f2x9ab12cd@mailclub.dev/checks?type=link&expect_host=staging.example.com" \ -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY"{ "address": "k7f2x9ab12cd@mailclub.dev", "email": { "id": "…", "received_at": "2026-10-17T10:00:01Z", "service": "Supabase", "service_domain": "supabase.io", "type": "link", "subtype": "verify" }, "passed": false, "failed": ["local_links"], "warnings": ["expiry"], "checks": [ { "check": "spf", "status": "pass", "detail": "The sending server is allowed to send for supabase.io." }, { "check": "local_links", "status": "fail", "detail": "A link goes to localhost:3000, which only opens on the computer running that server." } ]}Sign-in emails and receipts skip the four marketing checks, and so do emails from before types were added. A check on the newest email can now land on a newsletter and fail list_unsubscribe: pass type, subtype or category to check the email you mean.
For localised emails, check each locale’s copy: ?type=code&expect_language=fr&expect_text=Bonjour%20Maya.
The answer never holds what the email says or its links: reasons name at most a domain, a link’s host or your own phrases, so an agent can act on it without reading untrusted email text. The Node.js client has checkEmail, and the Python helper check_email.
An account pool for parallel tests
Section titled “An account pool for parallel tests”Keep test accounts in known states and let each test borrow one: tag them with their state (verified, premium, trial), then check one out. You get an account that matches every filter and that nobody else has checked out, the least recently used first, held for minutes (10 unless you ask, at most 60). Parallel tests never get the same one.
curl -s -X POST https://api.proxymail.qa/v1/addresses/checkout -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" \ -H "Content-Type: application/json" -d '{"tags":["verified","premium"],"country":"DE","minutes":5}'# { "address": "…", "persona": {…}, "tags": ["premium", "verified"], "checkout": { "token": "…", "until": "…" } }Sign in as it (with its saved password, for keys that can read them), run the test, then return it with the token. Returning can record the state the test left it in, so the pool stays accurate:
curl -s -X POST "https://api.proxymail.qa/v1/addresses/$ADDRESS/return" -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" \ -H "Content-Type: application/json" -d "{\"token\":\"$TOKEN\",\"add_tags\":[\"cancelled\"],\"remove_tags\":[\"premium\"]}"The Node.js client and the Python helper can also make, check and reset accounts with hooks from your tests, so a test gets an account in the state it needs.
A checkout that isn’t returned frees itself when its time runs out, so a crashed test never holds an account for long; extend gives it more time. When every match is checked out, the answer is 409 and says when the first comes free; when none match, 404. The app shows who has an account and until when, and anyone on the project can free it.
Runs: a report for the pull request
Section titled “Runs: a report for the pull request”A run groups a CI job or an agent’s session, and keeps the evidence of what its calls saw. Start one, then send its id in the Proxy-Mail-QA-Run header of each call:
RUN=$(curl -s -X POST https://api.proxymail.qa/v1/runs -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" \ -H "Content-Type: application/json" -d '{"name":"Sign-up tests","source":"ci"}' | jq -r .id)curl -s "https://api.proxymail.qa/v1/addresses/$ADDRESS/code?since=$SUBMITTED" \ -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY" -H "Proxy-Mail-QA-Run: $RUN"curl -s -X POST "https://api.proxymail.qa/v1/runs/$RUN/finish" -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY"curl -s "https://api.proxymail.qa/v1/runs/$RUN?format=markdown" -H "Authorization: Bearer $PROXYMAIL_QA_API_KEY"GET /v1/runs/{id} also compares the run with the last 10 finished runs of the same name (comparison in JSON, a list near the top of the Markdown report): much slower emails, a different number of emails, new and intermittent test failures, newly failing checks, and a new sender or link site. When it checked emails, deliverability says how many would likely be rejected or sent to spam (likely_spam), may go to spam (may_spam) or carry an attachment inboxes block, each email counted once by its latest check; the Markdown report says the same in the line under its heading. lowest_inbox_score is the lowest inbox score out of 10 among them (highest_spam_score is deprecated). It’s an estimate from each email’s spam_risk check, so it needs the project’s spam checks on.
Each call adds what it saw: an address made (including form values) or checked out of the pool, an email that arrived (the code, or the link’s site and path with anything that looks like a token hidden, and how many seconds after since), a count, email checks, unsubscribe, offer and coupon checks, and an email that never came or came when it shouldn’t have. Finishing passes the run unless one of those failed, a note failed it, or you send {"failed": true}. The report is Markdown, for a pull request comment or a job summary, and the run is in the app for everyone in the project, for 90 days.
To say which test a call belongs to, send its name, percent-encoded, in Proxy-Mail-QA-Test (such as sign-up%20%E2%80%BA%20sends%20one%20code): the report shows it beside what the call saw. A test runner’s reporter sends results to POST /v1/runs/{id}/tests: each failed or flaky test as {"name", "status": "failed", "duration_ms", "error"} (a failed test fails the run), then {"totals": {"passed", "failed", "skipped", "flaky"}} for the top of the report.
Evidence never fails a call: if a call can’t be added (the run has finished, or isn’t in this key’s project), it still works and the Proxy-Mail-QA-Run-Warning header says why. A client that asks again when a wait comes back empty sends Proxy-Mail-QA-Run-Retry: true on all but the last try, so only the last “nothing arrived” counts. In GitHub Actions, the Proxy Mail QA action does all of this.
When nothing arrives
Section titled “When nothing arrives”The 404 also says why, as far as we can tell: hint names anything we refused for the address (too large, or over a limit) or, when nothing has ever reached it, the likeliest cause; why says which case it is (below); refused lists what we turned away since since; blocked lists mail Cloudflare’s mail servers turned away before it reached us (rejected for failing SPF, DKIM or DMARC, dropped, or not delivered), with the sender’s domain and its SPF, DKIM and DMARC results; and help links to Test email not arriving?. The MCP tools answer found: false with the same message, refused and help. To check an address at any time without waiting, call GET /v1/addresses/{address}/delivery: it returns the emails received so far, every refusal still on record and a hint. Your app has to be able to email any address: an email provider in sandbox or test mode only sends to addresses you’ve verified.
Did it send?
Section titled “Did it send?”why says which case it is:
why |
What it means |
|---|---|
nothing_arrived |
Nothing reached Proxy Mail QA since the wait began. The app didn’t send it, its email provider held it (sandbox or test mode), or the app is over its sending cap. Look at the app and its email provider |
no_match |
Email reached Proxy Mail QA, so the app is sending, but none had a matching code or link. Check it sent the email you expected |
turned_away |
We refused it, or Cloudflare’s mail servers turned it away: refused and blocked say why |
already_used |
With unused=true, only a code or link already used matched. Ask the app for a new one |
arrived_before_since |
An unused code or link arrived shortly before since: up to 2 minutes before it, or before now when since is ahead of our clock. So since was probably set after the form was sent, or is ahead of our clock. hint says when it arrived: if it’s the one you want, wait again with since no later than that |
A since more than a minute ahead of our clock when the wait ends leaves out everything that has arrived, so hint says how far ahead it is. The usual cause is a local time sent without its offset, which is read as UTC: send since with its offset, such as Z or +08:00.
With nothing_arrived, when the last email at the address (or, for a new address, in the project that day) came from a platform’s built-in sender, shared_sender names it with its cap and the fix, and hint says the app may be over that cap:
"shared_sender": { "platform": "firebase", "name": "Firebase’s built-in email", "cap": "On the free Spark plan it sends at most 150 password reset emails, 5 sign-in link emails and 1,000 address verification emails a day.", "fix": "Add a billing account (the Blaze plan) for higher limits, and send from your own domain under Authentication, Templates.", "docs": "https://firebase.google.com/docs/auth/limits"}platform is supabase, firebase, bubble, glide, base44, cognito or auth0; cap is null when the platform publishes none. GET /v1/addresses/{address}/delivery returns shared_sender too.
When email reaches Proxy Mail QA but the people using your app say it doesn’t reach them, the app is sending, so the cause is how it’s sent: check the email’s spf, dkim, dmarc and shared_sender checks. Proxy Mail QA doesn’t test where an email lands at Gmail, iCloud or Outlook.
Errors
Section titled “Errors”Errors come back as {"error": "not_found", "message": "…"} with the matching status: 400, 401, 402 (the Free plan’s 500 addresses are used, or an organisation has no plan), 403 (no permission, or Journeys, a Labs feature, switched off), 404, 409 (an email arrived during a none check, or a sign-in or password reset form was sent to form-values without address) or 429 (rate_limited with a Retry-After header for a per-minute limit, daily_limit for the day’s addresses, account_held while a Free account is held to 10 a day). Request limits are in Limits and safety. A 500, or requests that time out for everyone, may be an incident on our side: see our status page.