β³ This skill is pending AI review.
Scores will appear once the review pipeline completes.
email-validator
Validate email addresses with format checks, DNS MX verification, and typo detection. Returns validation results with suggestions for common typos.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
Not yet listed on ClawHub or SkillsMP
// README
Email Validator Skill
A production-ready OpenClaw skill for email validation.
Quick Start
npm install email-validator-skill
const { validateEmail } = require('email-validator-skill');
const result = await validateEmail('[email protected]');
console.log(result.valid); // true
Documentation
See SKILL.md for complete API reference and examples.
Testing
npm test
License
MIT Β© Alex Chen
// HOW IT'S BUILT
// FILES
6 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.
SKILL.md2.2 KB898ff4a06bc6upstream β
--- name: email-validator description: Validate email addresses with format checks, DNS MX verification, and typo detection. Returns validation results with suggestions for common typos. homepage: https://github.com/alex-vbcoding/email-validator-skill metadata: {"openclaw": {"emoji": "π§", "requires": {"bins": ["node"]}}} --- # Email Validator Skill Validate email addresses with comprehensive checks: format validation, DNS record verification, and common typo detection. ## Features - β RFC-compliant email format validation - β DNS MX record verification (checks if domain can receive email) - β Common typo detection (e.g., "gmial.com" β "gmail.com") - β Disposable email detection - β Batch validation support ## Installation ```bash npm install email-validator-skill ``` ## Usage ### Basic validation ```javascript const { validateEmail } = require('email-validator-skill'); const result = await validateEmail('[email protected]'); console.log(result); // { // valid: true, // email: '[email protected]', // checks: { // format: true, // dns: true, // disposable: false // } // } ``` ### Check for typos ```javascript const result = await validateEmail('[email protected]'); // { // valid: false, // suggestion: '[email protected]', // typo: 'gmial.com' β 'gmail.com' // } ``` ### Batch validation ```javascript const emails = ['[email protected]', 'invalid@', '[email protected]']; const results = await validateBatch(emails); ``` ## API Reference ### `validateEmail(email, options)` **Parameters:** - `email` (string): Email address to validate - `options` (object): - `checkDNS` (boolean): Verify DNS MX records (default: true) - `checkTypos` (boolean): Suggest typo corrections (default: true) - `timeout` (number): DNS timeout in ms (default: 5000) **Returns:** Promise<ValidationResult> ### `validateBatch(emails, options)` Validate multiple emails efficiently. **Parameters:** - `emails` (array): Array of email addresses - `options` (object): Same as validateEmail **Returns:** Promise<ValidationResult[]> ## Common Typos Detected - gmial.com β gmail.com - yahooo.com β yahoo.com - hotmial.com β hotmail.com - outlok.com β outlook.com ## License MIT ## Author Alex Chen ([email protected])README.md466 Bc636199b97ceupstream β
# Email Validator Skill A production-ready OpenClaw skill for email validation. ## Quick Start ```bash npm install email-validator-skill ``` ```javascript const { validateEmail } = require('email-validator-skill'); const result = await validateEmail('[email protected]'); console.log(result.valid); // true ``` ## Documentation See [SKILL.md](./SKILL.md) for complete API reference and examples. ## Testing ```bash npm test ``` ## License MIT Β© Alex Chen.gitignore40 Be3b04b70624fupstream β
node_modules/ *.log .DS_Store coverage/index.js2.8 KB3dd703b1b9f1upstream β
const dns = require('dns').promises; // Common email typos const TYPO_MAP = { 'gmial.com': 'gmail.com', 'gmai.com': 'gmail.com', 'yahooo.com': 'yahoo.com', 'yaho.com': 'yahoo.com', 'hotmial.com': 'hotmail.com', 'outlok.com': 'outlook.com', 'outloo.com': 'outlook.com' }; // Disposable email domains const DISPOSABLE_DOMAINS = [ 'tempmail.com', '10minutemail.com', 'guerrillamail.com', 'mailinator.com' ]; /** * Validate email format using RFC-compliant regex */ function validateFormat(email) { const regex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/; return regex.test(email); } /** * Check if domain has MX records (can receive email) */ async function checkDNS(domain, timeout = 5000) { try { const records = await Promise.race([ dns.resolveMx(domain), new Promise((_, reject) => setTimeout(() => reject(new Error('DNS timeout')), timeout) ) ]); return records && records.length > 0; } catch (e) { return false; } } /** * Detect common typos in email domain */ function detectTypo(email) { const [, domain] = email.split('@'); if (!domain) return null; const suggestion = TYPO_MAP[domain.toLowerCase()]; if (suggestion) { const [localPart] = email.split('@'); return { suggestion: `${localPart}@${suggestion}`, typo: `${domain} β ${suggestion}` }; } return null; } /** * Check if email is from disposable domain */ function isDisposable(email) { const [, domain] = email.split('@'); return DISPOSABLE_DOMAINS.includes(domain?.toLowerCase()); } /** * Validate a single email address */ async function validateEmail(email, options = {}) { const { checkDNS: shouldCheckDNS = true, checkTypos = true, timeout = 5000 } = options; const result = { email, valid: false, checks: { format: false, dns: null, disposable: false } }; // Check format result.checks.format = validateFormat(email); if (!result.checks.format) { return result; } // Check for typos if (checkTypos) { const typo = detectTypo(email); if (typo) { result.suggestion = typo.suggestion; result.typo = typo.typo; return result; } } // Check disposable result.checks.disposable = isDisposable(email); // Check DNS if (shouldCheckDNS) { const [, domain] = email.split('@'); result.checks.dns = await checkDNS(domain, timeout); } // Email is valid if format is good, DNS passes, and not disposable result.valid = result.checks.format && (result.checks.dns !== false) && !result.checks.disposable; return result; } /** * Validate multiple emails */ async function validateBatch(emails, options = {}) { return Promise.all(emails.map(email => validateEmail(email, options))); } module.exports = { validateEmail, validateBatch };LICENSE1.0 KBa55328b62480upstream β
MIT License Copyright (c) 2026 Alex Chen Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.package.json561 B3586caacc623upstream β
{ "name": "email-validator-skill", "version": "0.1.0", "description": "OpenClaw skill for email validation with DNS checks and typo detection", "main": "index.js", "scripts": { "test": "node test.js" }, "keywords": ["email", "validation", "openclaw", "skill", "dns", "typo"], "author": "Alex Chen <[email protected]>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/alex-vbcoding/email-validator-skill.git" }, "dependencies": { "dns": "^0.2.2" }, "engines": { "node": ">=14.0.0" } }
Plain-text copy, no login: /skill-bundles/alex-vbcoding-email-validator-skill.md