Disposable Email vs Free Email: Two Different Checks

Disposable Email vs Free Email: Two Different Checks

A signup form may use an email address to answer several questions: can we contact this person, should we grant a trial, or is this address’s email service disposable? A single “valid email” result complicates policy explanations and error correction.

Separate disposable email and free-provider classifications, then decide what each means for the product.

Distinguish provider classification from validation

Provider classification describes an email domain’s service. Disposable classifications concern temporary or throwaway email services; free-provider classifications concern providers offering free accounts. Neither describes the submitter.

Keep these checks distinct:

  • Syntax validation: Does the address have an acceptable structure?
  • Ownership verification: Can the user complete a challenge sent to that address, demonstrating access then?
  • Deliverability: Can mail reach the destination? Past delivery does not guarantee future delivery.
  • Provider classification: Which provider categories apply to the domain?

Use a well-tested email parser for format handling. Verify mailbox access separately with a random, single-use, expiring confirmation token. See OWASP Email Validation and Verification Cheat Sheet.

Neither flag proves mailbox existence, user ownership, or ability to receive mail. Custom domains can be abused; free personal inboxes can belong to valuable customers.

Separate the two provider flags

Evaluate the categories independently.

An example matrix for one application:

Disposable Free provider Example provider category
false false Custom-domain mailbox outside either category
false true Free personal inbox from a non-disposable provider
true false Disposable service outside the free-provider category
true true Free disposable inbox provider

A two-by-two matrix showing that disposable and free-provider email flags are independent.

Free disposable inboxes activate both flags, while a free personal inbox need not activate the disposable flag.

An alias can forward to an established inbox without revealing its address. That purpose differs from providing a temporary inbox. Do not infer disposability or the underlying mailbox provider from address masking alone.

Match parsed domains, not fragments

Preserve the original address; derive a separate domain for classification. Normalize it with lowercase and a consistent internationalized-domain representation.

Avoid blindly stripping local-part plus tags or dots: provider-specific transformations can change your application’s address equivalence. Use consistent comparisons across account flows. These precautions follow OWASP’s guidance.

Follow the dataset’s domain-matching rules. The disposable-email-domains repository documents registrable-domain and public-suffix matching. Use public-suffix-aware processing where required; the final two labels may not identify the relevant domain.

Avoid substring searches and naive endsWith matching. Compare complete domain labels; distinguish exact-domain rules from intentional subdomain coverage. Otherwise, an unrelated domain containing a listed name can inherit its classification.

Maintain the classifier’s lists. The repository accepts additions and removal requests and warns that entries may no longer represent disposable services. Track dataset revisions, review changes, and provide a correction route. A mistaken entry can affect all that provider’s applicants. Missing entries can leave disposable services unrecognized.

Handle uncertain results

Classification results and processing outcomes belong in separate parts of your application.

A completed false classification differs from a timeout, an unavailable dataset, or an uninterpretable result. Do not convert exceptions into two false flags or let permissive Boolean checks accept missing values.

Represent pending, completed, unknown, or failed processing as appropriate in your workflow. These application states are not documented Apisk response fields. Apply the four-cell matrix only to usable classifications. Even completed negative classifications depend on the classifier’s knowledge; they do not prove trustworthiness.

A newsletter might continue to confirmation when classification is unavailable. A restricted trial might defer resource allocation while retrying or offering review. Tell applicants processing is incomplete rather than accusing them of using prohibited providers.

Choose a signup policy for your product

Consider a developer service with a newsletter and a restricted trial.

Newsletter: Accept free-provider addresses. Require confirmation before regular sends. You might permit confirmed disposable addresses if the newsletter’s purpose does not require durable account access. Handle later delivery failures through mailing operations, independently of provider flags.

Restricted trial: Accept free-provider addresses unless separate, explicit eligibility requirements demand otherwise. For disposable classifications, request an address supporting ongoing account access or offer manual review before allocating trial resources. Explain that requirement and let applicants challenge incorrect classifications.

Check trial eligibility independently: a custom domain does not establish entitlement.

Suppose an applicant’s address receives disposable=false and free_provider=true. The newsletter requests confirmation. The trial follows ordinary verification and eligibility steps; the free-provider flag alone does not trigger rejection.

Now suppose the applicant uses a free disposable provider, producing true/true. Here, the newsletter still permits confirmation; the trial requests an alternative address or review. The trial acts on its ongoing contact requirement, without inferring applicant fraud.

If classification fails, neither policy should treat the result as false/false. The newsletter follows its documented fallback; the trial remains pending. Test synthetic inputs covering all Boolean combinations, provider corrections, and lookup failures.

Make both checks explicit

Document which flag affects each signup flow and what happens when classification is unavailable. Separate mailbox verification from eligibility.

The planned Apisk Email Check API is an early-access offer scoped to disposable and free-provider classifications only.

Example classification flags for one address (the field names are examples):

{
  "disposable": false,
  "free_provider": true
}
Share:
Markdown version
↧
Loading PDF…