Parsing Email Signatures to Extract Contact Details
Regex first, LLM fallback, and cross-referenced messages fill CRM gaps.

Parsing email signatures to extract contact details requires recognizing structure. A reliable system uses regex for predictable fields, LLM fallback for difficult inputs, and multiple messages to fill gaps. How useful it is then depends on a second design choice: how to turn those records into relationship intelligence while keeping private correspondence out of shared data.
Why email signatures are structured data that most platforms treat as noise
An email signature contains a small, well-defined set of fields, including a name, title, company, phone number, email address, website, and social handles. The fields can look different, but they use a small set of terms. That distinguishes a signature from the prose above it. A phone number has a shape the parser can recognize even when the message around it is about something else.
The Nylas cookbook describes how a few hundred lines of regex can extract titles, phone numbers, LinkedIn URLs, websites, and company affiliations for a CRM, yet notes that most platforms ignore this source. The information already exists in a firm’s correspondence. Extracted fields can also feed Google Sheets, Airtable, and webhook endpoints. Recognizing that predictable structure makes the choice of extraction method consequential, because a tool designed to interpret open-ended language solves a different problem from one designed to identify fields.
What the two extraction approaches actually do, and where each one breaks
Regex uses pattern-matching rules to find fields without reading for meaning. A phone pattern finds a number, an @ symbol helps find an email address, and a URL prefix points to a website or LinkedIn handle. The same input always gives the same output. Processing runs in microseconds with no per-message cost, but the rules fail when the input does not fit their assumptions. Nested HTML tables, image-only blocks, non-Western name formats, unusual separators, and multi-language headers can all defeat patterns built around conventional signatures.
An LLM instead interprets context, labels, and meaning without fixed matching rules. An oddly arranged block may therefore yield usable fields even when regex cannot recognize its layout. A tutorial using the Nylas email API demonstrates this approach with Claude, contrasting its handling of inconsistent HTML, random line breaks, and decorative images with regex failures. When a signature is sparse or ambiguous, a model can invent a plausible title or company, filling a field with fiction where a regex miss would leave it blank. It also adds latency and a per-message cost.
Where does the signature start? Standard delimiters help, but many messages have none, leaving systems to use HTML class names, closing salutations, or the last N characters as fallback cues. Correctly recognizing a phone number is not enough if the parser is looking outside the signature. Signature isolation is therefore the hardest shared subproblem, rather than a detail that either extraction method automatically resolves.
Why regex should run first, and what it cannot replace
For most corporate signatures, regex should be the first pass. Well-formed inputs have a small set of terms and predictable shapes that rule-based extraction can handle quickly. The cookbook puts the distinction directly. “For unstructured prose, an LLM wins. Signatures aren't unstructured — they're predictably structured. Skip it for the first version.” Sending every message to an LLM adds overhead where contextual interpretation is unnecessary.
If layouts differ so much, can a fixed set of patterns remain useful? Some apparent extraction failures are actually missing-data problems, which cross-referencing several messages from the same sender can address. That distinction prevents a system from paying for interpretation when the desired field simply is not present in the current message.
LLM fallback earns its cost where the structure genuinely defeats the rules. These include image-only signatures, heavily nested HTML tables, non-Western name formats, and signatures that have no delimiters or structural cues. A fabricated company or title can silently contaminate a CRM record, so an LLM-only pipeline is risky when later decisions depend on those fields. The production-grade answer is a principled hybrid in which regex extracts what it can, the LLM handles difficult cases, and confidence scoring flags uncertain outputs for review.
The cross-referencing technique that separates production systems from prototypes
A single email is an incomplete sample of a sender’s contact details. Mobile replies may contain no signature, brief replies may give only a name, and only some messages include the full block. The parser can be correct and still return little. This makes single-message completeness a poor stand-in for the usefulness of the overall system.
The cookbook reports roughly two-thirds completeness across five core fields from a single message. Pulling the last three messages from the same sender and merging their results raises completeness to roughly nine-in-ten. The merge operates field by field, keeping the most complete value for each key. If one message contains a phone number and another omits it, the populated value fills the gap. The same technique smooths over transient formatting problems when a malformed signature appears correctly in another message.
That lift changes what a team can rely on. It turns extraction from a demonstration on one convenient email into a process that uses the available evidence across correspondence. Completeness is still distinct from correctness, though, so the result does not establish that every populated field is true. DNS-derived intelligence provides a complementary signal without parsing the signature at all. The sender’s email domain can reveal infrastructure through MX records, such as Google Workspace versus a self-hosted server, supplementing or helping validate extracted company data.
What practitioners have actually built with these pipelines
SigParser uses custom AI models to extract full names, titles, locations, phone numbers, and LinkedIn profiles from emails, calendars, address books, spreadsheets, and other sources. It also builds relationship and network graphs per employee. Its destinations include CRM systems, APIs, email marketing tools, data warehouses, address books, and spreadsheets, without per-message manual entry. The scope extends beyond inbox parsing alone. It serves law firms, manufacturing, construction, real estate, venture capital and private equity, professional services, and technology.
Parsio offers an email signature parser within its broader email parsing platform, separate from its standalone Chrome extension. That places signature extraction within a wider parsing workflow. By contrast, the cookbook documents a custom recipe combining regex, cross-referencing across the last N messages, and optional LLM fallback. The recipe produces enriched JSON contact records through the Nylas CLI. It suits teams that want control over the full stack rather than a prebuilt tool, with the corresponding responsibility for assembling the pipeline.
The documented LLM-first alternative uses Claude’s Haiku model tier for speed and cost. It combines HTML stripping, confidence scoring, SQLite contact storage, and upsert logic. Its fit is different from the regex-first recipe. Inboxes with highly variable signature formatting, where regex hit rates are lower, give contextual extraction more work to do. These implementations differ in setup effort, extraction method, and output destination rather than representing a single interchangeable category of tool.
Why the contact data extracted from signatures is most valuable as relationship intelligence, not just address book entries
An extracted contact becomes more useful when it remains connected to the relationship that produced it. A name, title, phone number, and LinkedIn URL identify a person, but do not explain who at the firm knows them. That is the next question for investors, founders, and operators. How recently did someone on the team interact with a target founder, and is the connection warm enough to use today? Sourcing often requires visibility into an existing network.
SigParser markets its relationship graphs to venture capital firms that want to know who knows whom and how often they interact. Email and calendar history let a partner look up the firm’s connections at a target company without anyone having to log them by hand. A warm introduction transfers social proof and implied endorsement, lowering the recipient’s perceived risk and shortening the trust-building phase in ways cold outreach cannot replicate.
This context is easy to lose when it is spread across separate inboxes. A departing relationship manager may leave a CRM record of dates and deal stages without a living picture of whom they knew and how well. Signature parsing combined with calendar mining can turn those fragments into a transferable relationship graph. But making a personal connection institutionally visible also raises the question of who authorized that visibility.
The consent and privacy problem that every extraction pipeline has to answer
The sender may know nothing about the extraction pipeline. An incoming email can provide a name, title, mobile number, and LinkedIn profile that the recipient’s firm then stores persistently without explicit agreement. Sending those details in correspondence is not the same as consenting to that subsequent use. Data minimization and purpose-limitation principles used in GDPR jurisdictions and enterprise procurement reviews require permission to use data even when it is already available.
A tool that helps someone organize their own contacts has a smaller scope than one that builds a shared network from every employee’s inbox. Extraction projects often stall at this point in enterprise legal review. The constraint is not merely whether a parser can read a field, but which collection and use the organization can justify. Treating that question as a late-stage compliance check leaves a central architectural choice unresolved.
Both regex and LLM parsers degrade on non-Western name formats, image-only signatures, and multi-language signatures. Results from English-language corporate inboxes do not show how well a parser will work in every inbox. An LLM may handle some inputs that defeat regex, but it still has those broader limits. A system’s extraction claims and its permission model must therefore fit the population and scope in which it will actually operate.
Permissioned architecture as the design answer to the consent problem
Extraction can continue with limits on capture, access, and retention. Personal context must stay private, including what messages say and the details of sensitive conversations. Institutional signal has a different role. The existence of a connection, its strength, and its recency can be collectively useful without exposing the conversation underneath. That separation distinguishes relationship intelligence from surveillance.
AI permissions should follow the same role-based restrictions that control what people can access in a CRM. Automation is not a reason for elevated privileges. Data minimization also means limiting what the parser can query rather than granting full inbox read access when signature blocks are sufficient. Retention limits should delete raw extracted data once it has been validated and stored as a structured record.
The Email Signature Parser Chrome extension illustrates a narrower privacy approach. It shares data only with ChatGPT for processing, does not store the data itself, and does not sell it to third parties. That limits institutional aggregation while preserving individual user privacy. Firms that want collective network intelligence should use opt-in participation, so each team member chooses whether their email and calendar interactions go into the shared graph. The firm must still ask whether the sender has agreed to that use.
The shared view should remain distinct from the individual’s view. AI can recommend actions rather than act autonomously, while uncertain extraction outputs remain subject to review. The governing principle is a boundary between useful institutional evidence and the private context from which it came. A trustworthy pipeline respects that boundary as deliberately as it recognizes the fields in a signature.


