/second-brain-skills:what-an-email-revealsfrom second-brain-skills
Investigates email addresses through MX/syntactic validation, Gravatar lookup, corporate format inference, breach exposure, and full mail-header analysis (Received chain, SPF, DKIM, DMARC).
Ships in second-brain-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
An email address is usually the highest-value selector in an investigation: it carries a name, a domain, an account history, and a breach footprint. The beginner error is trying to prove the address exists. Existence is the least interesting thing about it, it is the hardest thing to establish passively, and the techniques that establish it are the ones that expose you. Work the structure and the footprint first; treat validation as a bonus.
Never send mail to the subject as a research technique.
Read ../../ETHICS.md. Write down subject, objective, in-bounds selectors, out-of-bounds actions, and the governing jurisdiction. Decide in advance whether interactive probing — SMTP conversations, password-reset flows, signup-form enumeration — is authorized. It usually is not. Everything below is passive unless marked otherwise.
Done when scope is written and the interactive-probing decision is recorded.
Three different things get called "email validation". They are not interchangeable.
| Method | What it proves | Cost |
|---|---|---|
| Syntactic | The string could be an address | Free, passive, proves nothing about the mailbox |
| Domain / MX | The domain exists and accepts mail | Free, passive, dig MX example.com |
SMTP RCPT TO probe | The server claims the mailbox exists | Interactive, often blocked or lied to, and logged |
Do the first two. The third — opening an SMTP session and issuing RCPT TO to
see whether the server accepts the recipient — is a live conversation with the
subject's mail infrastructure from your IP. It gets logged, it gets your address
range blocklisted, and against a catch-all domain it is worthless: a
catch-all accepts every recipient, so every address "exists". Greylisting,
tarpitting, and accept-then-bounce policies produce the same useless answer.
Third-party validation APIs mostly wrap the same probe; the exposure moves to
the vendor, the accuracy limits do not change.
Then parse the local part. first.last, flast, firstl, f.last each imply
a name and, on a corporate domain, a company-wide convention — see
reference/corporate-formats.md.
Gmail normalisation matters. Gmail ignores dots in the local part and
everything after a +. [email protected], [email protected] and
[email protected] are one mailbox. Consequences: addresses that look different
in two breaches may be the same person, and a +tag frequently names the
service the address was given to, which is free intelligence about where the
subject holds accounts. Not every provider behaves this way — check before
assuming.
Done when the address is graded valid / invalid / unknown, the normalised form is recorded, and the name hypothesis is written down.
Gravatar maps an address to a public avatar by MD5 hash of the lowercased, trimmed address. Compute the hash and request the avatar; a returned image means the address was registered with the service, and the associated public profile can carry a display name, a location, links to other accounts, and verified accounts on other platforms.
printf '%s' "[email protected]" | tr 'A-Z' 'a-z' | md5sum
Free, passive, no key. Run the avatar through find-the-original-image. Treat a
default fallback image as "no Gravatar", not as "address invalid".
Done when Gravatar presence is checked and any profile fields captured.
The honest position: reliable account enumeration by email is an oracle problem. Password-reset and signup forms disclose whether an address is registered, which is exactly why tools exist to automate them — and exactly why doing so is interactive, often against terms of service, and potentially notifying (a reset request can email the subject). Flag it, get it authorized explicitly, or don't do it.
Passive alternatives that cost you nothing:
google-like-a-spy the full address in quotes, and the local part alone.
Resumes, conference programmes, mailing-list archives, WHOIS history, and
committed config files are full of addresses.what-leaked-about-you. Breach membership is the single best answer to
"which services did this identity use", and it is retrospective rather than
interactive.hunt-a-handle as a username seed.secrets-in-git-history.Done when the service list is assembled and each entry is marked passive or interactive in provenance.
Only applies when you legitimately possess the message. Headers are where an email stops being a selector and becomes evidence.
Read the Received: chain bottom-up: the bottom-most is the earliest hop,
and the originating host is there unless the sending platform strips it.
Everything below the first server you trust can be forged wholesale.
Message-ID — the domain part and the ID's shape often identify the sending
platform or mail client even when the visible headers are cosmetic.Authentication-Results — the receiving server's SPF, DKIM, and DMARC
verdicts. A DKIM pass is the strongest thing in the header block: it is a
cryptographic signature over content, so it survives forwarding claims.X-Mailer / User-Agent — client fingerprint, frequently left in place by
bulk-mail tooling.Return-Path vs From — a mismatch is normal for mailing lists and
suspicious in direct correspondence.Field-by-field guide: reference/header-fields.md.
Done when the originating infrastructure is identified or explicitly stated as unrecoverable.
info@, sales@, admin@) belong to functions, not
people. Attributing one to an individual is the most common serious error in
email OSINT, and it survives into reports because it looks like a finding.[email protected] from a
company pattern gives a plausible address, not a real one. Label it inferred,
permanently.Given [email protected]. dig MX returns records at a hosted
provider — the domain takes mail. Gravatar: no avatar, so no profile pivot.
Two employee addresses in a conference PDF are t.[человек]@ and s.aldridge@, so
the convention is first-initial.lastname. That makes j.okonkwo@
structurally consistent — evidence about the format, not evidence the person
exists. No SMTP probe is run; interactive steps are out of scope here.
The dead end: what-leaked-about-you returns nothing for the address, which
initially reads as "not a real user". Re-running against the Gmail-normalised
personal address recovered from a code-hosting commit gives three breaches, one
of them a developer forum with the handle sunfish_ada. That handle goes to
hunt-a-handle. The corporate address stays graded inferred; the personal one
is the working selector.
| New selector | Skill |
|---|---|
| Name from local part or Gravatar | find-anyone |
| Local part as username | hunt-a-handle |
| Email domain | who-owns-this-domain, recon-a-domain-passively |
| Employer from a corporate domain | x-ray-a-company |
| Breach appearances | what-leaked-about-you |
| Address in commits or config | secrets-in-git-history |
| Originating IP from headers | find-exposed-servers |
| Gravatar or profile avatar | find-the-original-image |
| Address posted in dumps or channels | find-leaks-in-the-wild |
SMTP probing and password-reset enumeration are interactive, commonly prohibited by terms of service, and in some jurisdictions arguably unauthorized interrogation of a system. Get them in writing before you use them. Under GDPR and UK data protection law an email address is personal data on its own — collect only what the objective needs, store it encrypted, and set a deletion date with the case file. Message content you possess may carry separate confidentiality or privilege obligations independent of the OSINT question.
Run write-the-intel-brief. State validity and how it was established, whether
the domain is catch-all, the service list with passive/interactive provenance,
breach exposure, and the identity attribution with its confidence grade.
Done when every address is marked observed or inferred, and no inferred address is stated as fact.
Like this skill? It is part of second-brain-starter-kit: the second brain we built for ourselves and run every day at Palo Alto AI Research Lab. Install the whole set with npx skills add tonydzi/second-brain-starter-kit. Everything is open source and free, so take what you need.
Flagships worth a look on their own: secondop-panel (a second opinion from a panel of external models), claude-memory-tidy (stop your agent's memory from rotting), telegram-mcp-kit (your own Telegram over MCP in about 15 minutes).
Author: Anton Dziatkovskii, Palo Alto AI Research Lab. Telegram @tonydzi - WhatsApp +1 341 222 9178 - X @Tony_Stef_
Engineers: want to test-drive this setup? Message me. I hand out free starter seeds to engineers who test and report back, and custom skill requests are welcome.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tonydzi/second-brain-starter-kit --plugin second-brain-skills248 skills in this plugin
/03Run an autonomous consensus round between agent peers on several machines: they negotiate a decision over a shared channel and execute it without a human relaying messages. Use when multiple machines must agree on a change. Triggers: "/03", "work it out among yourselves", "find consensus". Wakes the human only for irreversible actions or a deadlock./1Recover a session after a hard crash (app died, machine rebooted, context lost mid-work): replay the turn-state ledger for the last requests, files and decisions, run a green/red health ping over the system map, file sync and MCP connectors, then rebuild the previous session history for pickup. Triggers: "/1", "resume after crash", "wake"./agendaShow the operator's day: today's calendar plus what needs them personally (leads due, people awaiting a reply, deadlines), pulled from Calendar and Telegram and ranked. Read-only: sends and commits nothing. Triggers: "/agenda", "what's on today", "my agenda".Other plugins' skills for the same job