Find anyone's email address using their name and domain via SMTP verification
curl "http://YOUR_SERVER/email-api.php?name=John+Doe&domain=example.com"Response:
{
"status": "ok",
"email": "john.doe@example.com",
"confidence": 100,
"verification_status": "verified"
}| Feature | Description |
|---|---|
| ๐ Smart Pattern Matching | 60-180+ email patterns tested automatically |
| โก Batch SMTP Verification | 2x faster with batch processing |
| โ Triple Verification | 3 checks for 100% confidence |
| ๐พ Smart Caching | Instant response for repeated queries |
| ๐ Early Exit | Stops immediately when valid email found |
| ๐ฎ๐ณ Indian Name Support | Handles 2-5 word names perfectly |
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ 1. Cache โโโโโโถโ 2. Catch-All โโโโโโถโ 3. Name Parse โ
โ Check โ โ Detection โ โ โ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ 6. Return โโโโโโโ 5. Triple โโโโโโโ 4. Batch SMTP โ
โ & Cache โ โ Verify โ โ Verification โ
โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
| Parameter | Required | Description |
|---|---|---|
name |
โ Yes | Full name of the person |
domain |
โ Yes | Email domain (e.g., example.com) |
verbose |
โ No | Set to 1 for detailed response |
skip_cache |
โ No | Set to 1 to force fresh search |
timeout |
โ No | SMTP timeout in seconds (default: 12) |
| Status | Confidence | Meaning |
|---|---|---|
verified |
100% | Email confirmed (3/3 checks passed) |
verified |
85% | Likely valid (2/3 checks passed) |
risky |
70% | Rate limited but likely exists |
risky |
40% | Catch-all domain detected |
not_found |
- | No valid email found |
- PHP 7.4+
- Apache/Nginx
- Port 25 outbound open
# 1. Clone the repository
git clone https://github.com/souravkr529/eMail-Finder.git
# 2. Navigate to directory
cd eMail-Finder
# 3. Create cache file
echo "{}" > email_cache.json
# 4. Create log directories
mkdir -p logs/{failed,timeout,error,ratelimit}
# 5. Set permissions
chmod 666 email_cache.json
chmod -R 777 logs/curl "http://server/email-api.php?name=John+Doe&domain=example.com"curl "http://server/email-api.php?name=John+Doe&domain=example.com&skip_cache=1"curl "http://server/email-api.php?name=John+Doe&domain=example.com&verbose=1"curl -X POST -H "Content-Type: application/json" \
-d '{"name":"John Doe","domain":"example.com"}' \
http://server/email-api.phpfirst.last โ john.smith
flast โ jsmith
f.last โ j.smith
firstlast โ johnsmith
lfirst โ sjohn (common in India)
first โ john
last โ smith
first.mid.last โ john.michael.smith
fmid โ nmichael
mid โ michael
midlast โ michaelsmith
Edit email-api.php:
$CFG = [
'from_domain' => 'verify.example.com',
'max_retries' => 2,
'jitter_ms' => [100, 300],
'logs_enabled' => true,
];eMail-Finder/
โโโ email-api.php # Main API file
โโโ email_cache.json # Cache storage
โโโ README.md # Documentation
โโโ logs/
โโโ failed/ # No email found
โโโ timeout/ # Processing > 3 min
โโโ error/ # PHP errors
โโโ ratelimit/ # 450 rate limits
If you see 450 errors:
- Restart Server - Get new IP
- Wait - Greylisting clears in few hours
- IP Rotation - Use AWS Lambda for automatic rotation
| Metric | Value |
|---|---|
| Batch Size | 2 emails/connection |
| Speed Improvement | 2-3x faster |
| Triple Verify Time | ~3 seconds |
| Cache Response | Instant |
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you find this project useful, please consider giving it a โญ!
Made with โค๏ธ by Sourav Kumar