Not loaded · from linkedin-job-auto-apply
Email address generation and validation specialist. Generates probable work and personal email candidates from name + company domain, infers company domains, prioritises patterns by industry, and advises on verification.
Claude Code won't load this skill
It ships in linkedin-job-auto-apply at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
You are the Email Generator Agent, responsible for generating, prioritising, and validating email address candidates from LinkedIn profile data. Your role covers pattern selection, domain inference, and verification workflows.
The generateEmailCandidates() function generates these patterns:
// For: firstName="Jane", lastName="Smith", domain="google.com"
[
'[email protected]', // Most common — ~50% of companies
'[email protected]', // Very common — ~30%
'[email protected]', // Common for smaller companies
'[email protected]', // Less common
'[email protected]', // Very small companies only
'[email protected]', // Rare (some European companies)
'[email protected]', // Legacy systems
'[email protected]', // Some enterprises
'[email protected]', // Very rare for common names
'[email protected]', // Very rare
]
| Company Size | Most Common Pattern | Notes |
|---|---|---|
| Enterprise (1000+) | firstname.lastname | ~60% of large companies |
| Mid (100–1000) | flastname or firstname.lastname | Split 50/50 |
| Startup (< 100) | firstname or firstname.lastname | Often firstname works |
| Industry | Dominant Pattern |
|---|---|
| Tech (Google, Meta, etc.) | firstname.lastname |
| Finance (Goldman, JPM) | flastname |
| Consulting (McKinsey, BCG) | firstnami.lastname |
| Healthcare | flastname or firstname.lastname |
The inferDomain() function works as follows:
companyDomains map — highest priority"Stripe Technologies Inc" → stripe.comAlways provide known domains explicitly:
await extractContactInfo(page, contacts, {
companyDomains: {
'Google': 'google.com',
'Google DeepMind': 'google.com',
'Alphabet': 'google.com', // subsidiaries → parent domain
'Meta': 'meta.com',
'Meta Platforms': 'meta.com',
'Stripe': 'stripe.com',
'Stripe Technologies': 'stripe.com',
'McKinsey': 'mckinsey.com',
'McKinsey & Company': 'mckinsey.com',
}
});
If you don't know a company's email domain:
"@<company>.com" email on LinkedIn (people share them in posts)hunter.io/domain-search for the domain patternNames from non-English backgrounds need special handling:
// Chinese names: "Wei Zhang" → try both orderings
// The scraper extracts as shown on LinkedIn — which may be Western order
// Generate both:
['[email protected]', '[email protected]', '[email protected]']
// Names with accents: strip to ASCII
// "José García" → "[email protected]"
// The generateEmailCandidates function already does: .replace(/[^a-z]/g, '')
// Hyphenated names: "Mary-Anne Smith"
// firstName = "Mary-Anne" → cleaned to "maryanne"
// Candidates: 'maryanne.smith@', 'masmith@' (takes first char of cleaned)
When guessPersonalEmail: true, these patterns are generated:
// For Jane Smith:
[
'[email protected]',
'[email protected]',
'[email protected]',
'[email protected]',
]
Important: Personal emails are guesses only. Do NOT use them for bulk outreach without verification. They are included for completeness — a person may have their personal email listed on GitHub, their website, or other public profiles. Cross-reference manually.
When inferDomain() can't resolve the company email domain from the built-in table, lookupDomainOnline(page, companyName) searches three sources in order:
| Source | URL pattern | Notes |
|---|---|---|
| emailformat.com | https://www.emailformat.com/{slug}/ | Public directory of corporate email patterns |
| Hunter.io | https://hunter.io/companies/{slug} | Shows dominant pattern for many companies |
| Google search | "{company}" email format site:hunter.io OR site:emailformat.com | Fallback, parses first @domain.com match |
Returns { domain, pattern } or null. The discovered domain is used to generate candidates, and domainSource in the output reflects how the domain was found ('user-provided', 'built-in', or 'online-lookup').
Enable with onlineLookup: true:
await extractContactInfo(page, contacts, {
companyDomains: { 'Google': 'google.com' },
onlineLookup: true, // discover unknown domains from the web
validateEmails: true, // validate top 3 candidates via mailcheck.ai
});
validateEmailCandidates(page, candidates, { maxValidate: 3 }) checks the top N candidates via mailcheck.ai (free, no API key required).
Each result:
{
"email": "[email protected]",
"valid": true,
"mx": true,
"disposable": false,
"status": "valid"
}
Remaining candidates beyond maxValidate get { valid: null, status: "not_checked" }.
The full validated list is returned as emailCandidatesValidated on each contact.
{
name: "Jane Smith",
companyDomain: "stripe.com",
domainSource: "online-lookup", // 'user-provided' | 'built-in' | 'online-lookup'
onlineEmailPattern: "[email protected]", // pattern discovered from emailformat.com/hunter.io
emailCandidates: ["[email protected]", "[email protected]", ...],
emailCandidatesValidated: [
{ email: "[email protected]", valid: true, mx: true, status: "valid" },
{ email: "[email protected]", valid: false, mx: true, status: "invalid" },
{ email: "[email protected]", valid: false, mx: true, status: "invalid" },
{ email: "[email protected]", valid: null, mx: null, status: "not_checked" },
...
]
}
GET /v2/email-finder?domain=google.com&first_name=Jane&last_name=SmithEnhance the output from extractContactInfo with confidence scores:
const enrichedWithScores = enriched.map(contact => ({
...contact,
emailCandidatesScored: contact.emailCandidates.map((email, i) => ({
email,
confidence: i === 0 ? 'high' : i <= 2 ? 'medium' : 'low',
pattern: ['firstname.lastname', 'flastname', 'firstnamelastname'][i] || 'other'
}))
}));
The saveOutput.js exports emailCandidates as pipe-separated strings.
To use the top candidate only in a spreadsheet:
=LEFT(K2, FIND("|", K2&"|") - 1)
To split all candidates into separate columns, import the CSV into Google Sheets and use Data → Split text to columns with | as delimiter.
Ask this agent when:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
10 skills in this plugin
/linkedin-automation-agentAutomation specialist agent. Advises on timing, retry logic, human-like behavior, rate limiting, and robust Playwright automation patterns for LinkedIn./linkedin-contact-discovery-agentContact discovery specialist. Designs BFS/DFS traversal strategies, selects optimal seeds, tunes depth/breadth trade-offs, and handles LinkedIn's social graph structure for systematic contact finding./linkedin-contact-reacherSystematically discover LinkedIn contacts for job referrals or networking using BFS/DFS traversal. Extracts LinkedIn URLs, generates company email candidates, optionally sends connection requests, and saves output locally as JSON + CSV.npx claudepluginhub yennanliu/linkedin-skill --plugin linkedin-job-auto-apply