Werkmail Docs
Contents

Guides

Contacts and address quality

Every address that enters a workspace gets a free check before any message is sent to it. The check is local and offline for syntax and typos, and it asks DNS once per domain for the mail route. It never changes an address; when it sees a likely typo it only suggests a correction.

This is the first, free stage. The paid mailbox check that a plan also includes is a separate feature; see Address validation.

What the check looks at

  • Syntax: whether the address is a valid mailbox at all.
  • Throwaway domains: known disposable providers are caught before they pollute a list.
  • Likely typos: a domain within a small edit distance of a well known provider, for example gmial.com for gmail.com, is flagged with a suggestion.
  • Role mailboxes: addresses such as abuse@ or postmaster@ are marked because they are rarely monitored by a person.
  • Mail route: whether the domain can receive mail at all, from its MX records, with an A or AAAA record as a fallback.

The DNS answer is cached per domain for 24 hours, so importing or scanning a large list never asks the same domain twice in a day.

What the check deliberately leaves out

  • It does not confirm that a single mailbox exists. That needs the mailbox provider and is the paid check's job.
  • It does not score engagement or deliverability reputation; that is the deliverability guardrails.
  • It does not rewrite, correct or delete an address. A suggestion is offered and applied only when a person confirms it.
  • It never sends a message to test an address. A probe would itself be a send.

When an address is checked

The check runs when an address enters the workspace:

  • A person subscribes to a list, or is added by hand.
  • A list is imported, in bulk and once per address.
  • A contact is created through the API, the migration bridge, or an embed form.
  • A person asks for a re-check on the contact panel, one address at a time.
  • A workspace scan re-checks a batch, newest and never-checked contacts first.

The workspace chooses what happens with the verdict in Settings, Address checks:

  • off checks nothing and stores nothing.
  • warn checks, marks a blocked address and still accepts it. This is the default, because it can not lose a signup.
  • block checks and refuses a blocked address at intake with 422 email_not_deliverable, so nobody is added by mistake.

Why the check does not run at send time

A send path must stay fast and predictable. A DNS lookup on every recipient would add latency and a network failure mode to a step that should only deliver mail, and a domain's mail route changes slowly, so a fresh answer per message buys almost nothing. The verdict is decided when the address enters and is stored on the contact; a re-check is a separate, explicit action.

What each band means for a send

Band Meaning Effect
ok Looks deliverable Sent.
warn May be wrong, for example a likely typo or a role mailbox Sent, marked so it can be reviewed.
block Not worth sending to, for example a throwaway domain or a domain with no mail route Held back: refused at intake in block mode, marked in warn mode.

Only the block band is ever held back from a send. warn and ok are always sent. A workspace that runs warn keeps a blocked address but sees it in the list, and a workspace that runs block never adds it.

Finding the addresses that need attention

The contact list has a Quality column with the band, and a filter:

  • Needs attention lists the warn and block bands together.
  • Blocked lists the block band only.

The filter shows how many contacts each choice would return. The contact panel has an Address quality card with the band, the reason, a suggestion, the time of the last check, the source of the verdict, and a Check again button. When a suggestion exists, Use suggestion replaces the address after a confirmation and checks the new address straight away.

The workspace summary route counts the contacts per band, and a scan re-checks a batch. Neither the scan nor the check ever calls the paid validation API or sends mail.

From the API

  • GET /api/practices/{id}/contacts?quality=attention or ?quality=block filters the list.
  • POST /api/practices/{id}/contacts/{contactID}/quality-check re-checks one contact.
  • POST /api/practices/{id}/contacts/quality-scan re-checks a batch.
  • GET /api/practices/{id}/quality/summary counts the contacts per band.
  • GET and PUT /api/practices/{id}/quality/settings read and write the mode.

The full shapes are in the API reference.

View this page as Markdown · llms.txt · full corpus