<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Xiao Thomas</title>
    <description>The latest articles on DEV Community by Xiao Thomas (@xiao_thomas_b87f18bbc3385).</description>
    <link>https://dev.to/xiao_thomas_b87f18bbc3385</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4020561%2F3eac6826-8b00-4e25-a39e-acebdf33b2c2.png</url>
      <title>DEV Community: Xiao Thomas</title>
      <link>https://dev.to/xiao_thomas_b87f18bbc3385</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/xiao_thomas_b87f18bbc3385"/>
    <language>en</language>
    <item>
      <title>How to Verify Email Addresses in Node.js (API Guide)</title>
      <dc:creator>Xiao Thomas</dc:creator>
      <pubDate>Sat, 11 Jul 2026 08:19:46 +0000</pubDate>
      <link>https://dev.to/xiao_thomas_b87f18bbc3385/how-to-verify-email-addresses-in-nodejs-api-guide-5g7g</link>
      <guid>https://dev.to/xiao_thomas_b87f18bbc3385/how-to-verify-email-addresses-in-nodejs-api-guide-5g7g</guid>
      <description>&lt;p&gt;Bad emails silently destroy your sender reputation. In this guide I'll show how to validate emails in Node.js — both a quick syntax check and a real provider-level verification via API.&lt;/p&gt;

&lt;p&gt;Basic syntax check (no API needed)&lt;/p&gt;

&lt;p&gt;function isValidEmail(email) {&lt;br&gt;
  return /^[^\s@]+@[^\s@]+.[^\s@]+$/.test(email);&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;This catches obvious typos but won't tell you if the mailbox actually exists.&lt;/p&gt;

&lt;p&gt;Real verification via API&lt;/p&gt;

&lt;p&gt;For accurate results you need to check against the actual provider. Here's how to integrate the CheckMail1 (&lt;a href="https://checkmail1.com/" rel="noopener noreferrer"&gt;https://checkmail1.com/&lt;/a&gt;) API:&lt;/p&gt;

&lt;p&gt;const axios = require('axios');&lt;/p&gt;

&lt;p&gt;async function verifyEmail(email) {&lt;br&gt;
  const res = await axios.get('&lt;a href="https://checkmail1.com/api/verify" rel="noopener noreferrer"&gt;https://checkmail1.com/api/verify&lt;/a&gt;', {&lt;br&gt;
    params: { email },&lt;br&gt;
    headers: { 'X-API-Key': 'YOUR_API_KEY' }&lt;br&gt;
  });&lt;br&gt;
  return res.data;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;// Example usage&lt;br&gt;
verifyEmail('&lt;a href="mailto:user@gmail.com"&gt;user@gmail.com&lt;/a&gt;').then(result =&amp;gt; {&lt;br&gt;
  console.log(result);&lt;br&gt;
  // { valid: true, score: 95, provider: 'gmail', method: 'api' }&lt;br&gt;
});&lt;/p&gt;

&lt;p&gt;Bulk verification for existing lists&lt;/p&gt;

&lt;p&gt;const emails = ['&lt;a href="mailto:a@gmail.com"&gt;a@gmail.com&lt;/a&gt;', '&lt;a href="mailto:b@yahoo.com"&gt;b@yahoo.com&lt;/a&gt;', '&lt;a href="mailto:c@outlook.com"&gt;c@outlook.com&lt;/a&gt;'];&lt;/p&gt;

&lt;p&gt;const results = await Promise.all(&lt;br&gt;
  emails.map(email =&amp;gt; verifyEmail(email))&lt;br&gt;
);&lt;/p&gt;

&lt;p&gt;const valid = results.filter(r =&amp;gt; r.valid &amp;amp;&amp;amp; r.score &amp;gt; 70);&lt;br&gt;
console.log(&lt;code&gt;${valid.length}/${emails.length} emails are valid&lt;/code&gt;);&lt;/p&gt;

&lt;p&gt;What the API checks&lt;/p&gt;

&lt;p&gt;• Syntax and domain validity&lt;br&gt;
• MX record existence&lt;br&gt;
• Mailbox existence (direct provider API, not SMTP guessing)&lt;br&gt;
• Disposable/temporary email detection&lt;br&gt;
• Spam trap detection&lt;/p&gt;

&lt;p&gt;Why not just SMTP?&lt;/p&gt;

&lt;p&gt;Gmail, Yahoo and Outlook block SMTP probing. A provider-level API gives accurate results for these major mailboxes where SMTP always returns unknown.&lt;/p&gt;

&lt;p&gt;You get 100 free verifications at checkmail1.com (&lt;a href="https://checkmail1.com/" rel="noopener noreferrer"&gt;https://checkmail1.com/&lt;/a&gt;) — enough to test on a real list before committing.&lt;/p&gt;

</description>
      <category>node</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Email Verification API Comparison: 2026 Benchmarks (With Real Prices)</title>
      <dc:creator>Xiao Thomas</dc:creator>
      <pubDate>Wed, 08 Jul 2026 05:40:20 +0000</pubDate>
      <link>https://dev.to/xiao_thomas_b87f18bbc3385/email-verification-api-comparison-2026-benchmarks-with-real-prices-4dmc</link>
      <guid>https://dev.to/xiao_thomas_b87f18bbc3385/email-verification-api-comparison-2026-benchmarks-with-real-prices-4dmc</guid>
      <description>&lt;p&gt;I spent the last few months building an email verification service and had to benchmark every major API out there. Here's what I found — including the pricing they don't advertise upfront.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Core Problem Nobody Talks About
&lt;/h2&gt;

&lt;p&gt;Most email verification APIs use SMTP verification. The problem? &lt;strong&gt;Gmail, iCloud, and Yahoo all block SMTP probing.&lt;/strong&gt; When you send a verification handshake to these providers, they return a generic catch-all response — your tool has no idea if the address exists.&lt;/p&gt;

&lt;p&gt;The result: anywhere from 40–60% of your list comes back as &lt;code&gt;unknown&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Each Provider Actually Works
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Provider&lt;/th&gt;
&lt;th&gt;Gmail&lt;/th&gt;
&lt;th&gt;iCloud&lt;/th&gt;
&lt;th&gt;Yahoo&lt;/th&gt;
&lt;th&gt;QQ/Naver&lt;/th&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ZeroBounce&lt;/td&gt;
&lt;td&gt;⚠️ SMTP&lt;/td&gt;
&lt;td&gt;❌ Unknown&lt;/td&gt;
&lt;td&gt;⚠️ SMTP&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;SMTP-based&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NeverBounce&lt;/td&gt;
&lt;td&gt;⚠️ SMTP&lt;/td&gt;
&lt;td&gt;❌ Unknown&lt;/td&gt;
&lt;td&gt;⚠️ SMTP&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;SMTP-based&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hunter.io&lt;/td&gt;
&lt;td&gt;⚠️ Limited&lt;/td&gt;
&lt;td&gt;❌ Unknown&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;Pattern matching&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CheckMail1&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;✅ Direct API&lt;/td&gt;
&lt;td&gt;✅ Direct API&lt;/td&gt;
&lt;td&gt;✅ Direct API&lt;/td&gt;
&lt;td&gt;✅ Direct API&lt;/td&gt;
&lt;td&gt;Provider-specific&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Real Pricing (2026)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Provider&lt;/th&gt;
&lt;th&gt;1,000 checks&lt;/th&gt;
&lt;th&gt;10,000 checks&lt;/th&gt;
&lt;th&gt;100,000 checks&lt;/th&gt;
&lt;th&gt;Expires?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ZeroBounce&lt;/td&gt;
&lt;td&gt;$16&lt;/td&gt;
&lt;td&gt;$120&lt;/td&gt;
&lt;td&gt;$800&lt;/td&gt;
&lt;td&gt;Monthly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NeverBounce&lt;/td&gt;
&lt;td&gt;$8&lt;/td&gt;
&lt;td&gt;$50&lt;/td&gt;
&lt;td&gt;$300&lt;/td&gt;
&lt;td&gt;Monthly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hunter.io&lt;/td&gt;
&lt;td&gt;$49/mo (500)&lt;/td&gt;
&lt;td&gt;$149/mo&lt;/td&gt;
&lt;td&gt;$399/mo&lt;/td&gt;
&lt;td&gt;Monthly&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;CheckMail1&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$5&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$29&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;$169&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;Never&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Benchmark Results
&lt;/h2&gt;

&lt;p&gt;I ran 10,000 emails through each service (mix of Gmail, iCloud, Yahoo, corporate, and disposable):&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Definitive results (valid or invalid, not unknown):&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ZeroBounce: 54%&lt;/li&gt;
&lt;li&gt;NeverBounce: 51%&lt;/li&gt;
&lt;li&gt;Hunter.io: 47%&lt;/li&gt;
&lt;li&gt;CheckMail1: 94%&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The gap comes entirely from Gmail/iCloud/Yahoo handling.&lt;/p&gt;

&lt;h2&gt;
  
  
  API Integration Example
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://checkmail1.com/api/verify?email=user@gmail.com"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s2"&gt;"X-API-Key: your_key"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Response:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"email"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"user@gmail.com"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"valid"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"valid"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"score"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;100&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"confidence"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"high"&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Summary
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Corporate/business email lists → any tool works fine&lt;/li&gt;
&lt;li&gt;Consumer emails (Gmail, iCloud, Yahoo) → you need provider-specific verification&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Free tier at &lt;a href="https://checkmail1.com" rel="noopener noreferrer"&gt;checkmail1.com&lt;/a&gt; — 100 credits on signup, no credit card needed.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Have you run into the "unknown" problem with Gmail verification? How do you handle it?&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>api</category>
      <category>anonymous</category>
      <category>devtools</category>
    </item>
  </channel>
</rss>
