LST Consultancy

Case Study · Email Verification API

Real-Time Email Validation API: 97% Accuracy and 83% Lower Bounce Rates

How LST Consultancy built a three-layer email validation API and dashboard that stops bad email addresses at the point of entry.

accuracy detecting invalid or unreachable emails
97%
lower campaign bounce rates within a quarter
83%
of manual checking saved each week
20+ hrs

At a Glance

Client
A global information services and analytics company
Systems
Node.js validation engine, React.js dashboard, REST API, Kubernetes
Service
Custom email validation API and batch validation dashboard
Challenge
High bounce rates, no real-time validation, slow manual reviews and no common validation standard
Solution
Real-time and batch validation with syntax, domain and SMTP checks, delivered as a secure microservice
Results
97% accuracy, 83% lower bounce rates within a quarter and 20+ hours saved per week

Quick summary

LST Consultancy built a real-time email validation API that checks each address in three layers (syntax, domain and MX records, and an SMTP handshake) and plugs into any internal application through a secure REST API. The client reached 97% accuracy in detecting invalid or unreachable emails, cut campaign bounce rates by 83% within one quarter, and saved more than 20 hours of manual checking each week.

About the Client

The client is a global information services and analytics company that collects email addresses across many platforms and applications. Bad addresses, whether mistyped, fake or no longer active, were hurting email deliverability, and each department handled validation differently, if at all.

The Challenge

Bad email addresses were getting in everywhere, and nobody checked them the same way.

  • High Bounce Rates

    Invalid and mistyped email addresses caused high bounce rates.

  • No Real-Time Validation

    Critical user-facing applications accepted email addresses without checking them.

  • Slow Manual Reviews

    Reviewing email records by hand took significant time.

  • Damage to Reputation and Deliverability

    Poor data quality hurt sender reputation and email delivery.

  • No Common Standard

    Each department validated email addresses differently, or not at all.

The Solution

LST Consultancy built an email validation API that any internal or client-facing application can call.

Email entries

Forms and batch uploads

  • maya@example.comMailbox reachableValid
  • raj@gmial.comNo MX recordInvalid
  • ana@@site.comSyntax errorInvalid
  • hr@example.orgCatch‑all domainUnknown

Three-layer validation API

  • Syntax check
  • Domain and MX
  • SMTP handshake
  • Rate limiting

Clean data

Apps and dashboard

  • Sign-up formsBad entries stopped
  • Batch resultsUnknowns flagged
  • Audit logEvery attempt
  • DashboardValidation trends
  • Three-Layer Validation

    • Syntax check: confirms the address is correctly formatted.
    • Domain and MX record check: confirms the domain exists and can receive email.
    • SMTP handshake: confirms the mailbox is reachable, without sending any email.
  • Real-Time and Batch Validation

    Addresses are checked instantly as users enter them, and administrators can upload lists for bulk validation.

  • Secure REST API

    A RESTful API with token-based authentication and rate limiting makes integration simple and safe.

  • Admin Dashboard

    A React.js dashboard lets administrators upload batches, view results and monitor validation trends.

  • Integration-Ready Microservice

    The validator runs as a microservice, so it can serve many applications at once.

  • Logging and Domain Intelligence

    Every validation attempt is logged for auditing and debugging, and third-party domain reputation scoring adds extra insight.

How We Delivered It

We used an Agile approach across seven phases.

  1. Planning and Requirements Gathering

    We worked with marketing, IT and security teams to define validation criteria, and measured current bounce rates and data quality.

  2. Design

    We designed a modular architecture for the validator, API and dashboard, with secure endpoints and a validation pipeline.

  3. Development

    We built the syntax parser and domain checker using DNS modules, SMTP handshake logic with a fallback for firewalls, and the dashboard for batch uploads and results.

  4. Testing

    We simulated thousands of real-world email scenarios, including typos, inactive domains and disposable emails, and tuned timeouts, retries and false-positive handling.

  5. Deployment

    We deployed on the client’s internal Kubernetes cluster, with an API gateway, monitoring and access control.

  6. Training

    We trained development teams on API integration and created dashboard help guides.

  7. Maintenance and Continuous Improvement

    We monitor performance, tune thresholds and added third-party domain reputation scoring.

Technology stack

  • Node.js
  • React.js
  • REST API
  • Token-based authentication
  • Kubernetes
  • API gateway

The project team included a business analyst, project manager, developers, QA tester, system administrator and trainers.

Obstacles We Overcame

Checking mailboxes live against other companies’ mail servers raised four issues. Here’s how we handled each one.

  • Slow SMTP responses

    Challenge
    Some mail servers responded slowly.
    How we solved it
    Asynchronous timeouts with a fallback to domain-level validation kept checks fast.
  • Catch-all domains

    Challenge
    Some domains accept all addresses, which made results unreliable.
    How we solved it
    These are flagged as “unknown” and highlighted in batch results.
  • Throttling by mail servers

    Challenge
    External servers throttled requests during testing.
    How we solved it
    Rate limiting and a retry queue solved this.
  • Privacy concerns

    Challenge
    Live validation raised privacy questions.
    How we solved it
    The validator only performs an SMTP handshake and never sends any email content.

The Results

Stopping bad addresses at the point of entry improved deliverability and freed up time across departments.

  • By the Numbers

    97%
    accuracy in detecting invalid or unreachable email addresses
    83%
    reduction in email campaign bounce rates within one quarter
    20+ hrs
    saved per week across departments by replacing manual checks
  • What Changed

    1. Better deliveryFewer sign-up errors and better delivery of transactional emails.
    2. Compliant by designAligned with internal data protection policies and GDPR requirements.
    3. Built to scaleScalable architecture deployed across multiple applications.

Key Takeaways

  1. Validate at the point of entry

    Catching bad addresses as they’re typed prevents data problems downstream.

  2. Layer your checks

    Syntax, domain and SMTP checks together catch far more than any single method.

  3. Be honest about uncertainty

    Flagging catch-all domains as “unknown” is more useful than guessing.

  4. Respect mail servers and privacy

    Rate limiting and handshake-only checks keep validation fast, polite and private.

Frequently Asked Questions

Answers to common questions about email validation APIs.

Bad addresses getting into your data?

Talk to our team about an email validation API that plugs into the applications you already use.

Ready to Stop Bad Data at the Door?

LST Consultancy can build an email validation API and other data quality tools that integrate with your applications and keep your data clean from the start.

sales@lstconsultancy.com+91 70582 77886

Node.js, React, Kubernetes and other product names are trademarks of their respective owners.