Email Signature Parser - Extract Contacts from Emails avatar

Email Signature Parser - Extract Contacts from Emails

Pricing

from $3.00 / 1,000 contact parseds

Go to Apify Store
Email Signature Parser - Extract Contacts from Emails

Email Signature Parser - Extract Contacts from Emails

Turn raw emails, .eml files and HTML signatures into clean contact records: name, job title, company, phones (E.164 + mobile/landline), emails, website, LinkedIn, X/Twitter and postal address. Strips quoted replies and disclaimers. Multilingual, no external APIs.

Pricing

from $3.00 / 1,000 contact parseds

Rating

0.0

(0)

Developer

Camp8 fr0

Camp8 fr0

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

6 days ago

Last modified

Features

Limited permissionsSingle-tenantServer interface

Share

Email Signature Parser: Extract Contact Details (Name, Title, Phone, Company) from Emails

Email Signature Parser turns raw emails into clean, structured contact records. Paste plain-text emails, HTML emails or full .eml files, and get back the sender's full name, first and last name, job title, company, email addresses, phone numbers (E.164, mobile vs landline, country), website, LinkedIn, X/Twitter and other social profiles, and the postal address, with a confidence score for every field. It removes quoted replies, forwarded headers, legal disclaimers and "Sent from my iPhone" lines before parsing. It works in English, French, German, Spanish, Italian, Dutch and Portuguese. Everything runs inside the Actor: no external APIs, no LLM costs, and your emails never leave Apify.

What does Email Signature Parser do?

  • ✂️ Cleans the email: strips quoted replies (Gmail "On … wrote:", Outlook "From:/Sent:" blocks, Apple Mail, > quotes, "Le … a écrit :", "Am … schrieb …:", "El … escribió:", "Il giorno … ha scritto:", "Op … schreef …:", "Em … escreveu:"), forwarded-message headers, confidentiality disclaimers, company register footers and mobile "Sent from" lines.
  • 🔎 Finds the signature block using the -- delimiter, multilingual sign-offs (Best regards, Thanks, Cheers, Cordialement, Bien à vous, Mit freundlichen Grüßen, Viele Grüße, Saludos, Atentamente, Cordiali saluti, Met vriendelijke groet, Atenciosamente…), or the bottom contact-dense block when there is no sign-off.
  • 👤 Name, job title and company: handles Name | Title | Company one-liners, Title at Company, SURNAME Firstname, particles (van der, de la, El), honorifics and credentials (Dr., Lic., Mag., PhD, MBA, CPA, MRICS), and companies with legal forms (Inc, LLC, Ltd, GmbH, SAS, SARL, S.L., S.r.l., B.V., Ltda, Lda, OG…).
  • 📞 Phones with libphonenumber: E.164, international and national formats, mobile / fixed / toll-free / fax type, country, extension, and the label used (M:, Mobile, Cell, Portable, GSM, Handy, Natel, Móvil, Tel, Tél, Fax…). Numbers without a + prefix use your default country, plus hints from the signature (website TLD, address country, other numbers). VAT and registration numbers are not mistaken for phones.
  • 🌐 Websites and social profiles: LinkedIn, X/Twitter (including Twitter: @handle), Instagram, Facebook, GitHub, YouTube, TikTok, XING, Viadeo, Calendly, WhatsApp, Telegram and more.
  • 🏠 Postal address heuristics for US, UK, Canada, France, Belgium, Switzerland, Germany, Austria, Spain, Italy, Netherlands, Portugal, Brazil, Argentina, Morocco, Singapore and New Zealand formats. Returns the full address plus street, postal code, city and country.
  • ✅ Cross-validates the name with the From: header (Name <email>) and the email address. A signature that only says "Dave" still gives "David Miller" when the header has it.
  • 📨 Reads .eml / MIME (quoted-printable, base64, encoded headers, multipart/alternative) and HTML signatures (tables, <div>, <br>, mailto: / tel: links).
  • 🌐 HTTP API (Standby mode): POST an email and get the contact back in milliseconds.

Use cases

  • CRM enrichment: create or update contacts in HubSpot, Salesforce, Pipedrive or Zoho from inbound emails
  • Sales and lead capture: turn replies to outreach campaigns into qualified leads with phone numbers and titles
  • Shared inbox automation: route support or sales emails with parsed company and country
  • Recruiting: extract candidate and client contact details from email threads
  • Email archive mining: build a contact database from years of .eml exports
  • AI agents and workflows (n8n, Make, Zapier): parse the latest email with one HTTP call

How to use it

  1. Click Try for free.
  2. Paste one or more emails in Emails (strings, or {"id", "text", "from"} objects). Full .eml content is accepted.
  3. Set the Default phone country (e.g. US, GB, FR, DE, ES, MA) for numbers written without +.
  4. Click Start. Each email becomes one contact in the Contacts view. Export to JSON, CSV, Excel, or use the API.

Call it as an HTTP API (Standby mode)

POST is the main way to use Standby, because emails are long, multi-line texts:

curl -X POST "https://<your-standby-url>/" \
-H "Authorization: Bearer <APIFY_TOKEN>" -H "Content-Type: application/json" \
-d '{"emails":[{"id":"msg-1","text":"Hi Tom,\n\nSee you Thursday.\n\nBest regards,\nSarah O'"'"'Connor\nVP of Marketing | Globex Inc.\nM: +1 646 555 0199"}],"defaultCountry":"US"}'

For a single message you can also use GET with the text parameter (URL-encoded):

curl -G "https://<your-standby-url>/" -H "Authorization: Bearer <APIFY_TOKEN>" \
--data-urlencode $'text=Cordialement,\nJean DUPONT\nDirecteur Commercial\nTél : 01 42 68 53 00' \
--data-urlencode "defaultCountry=FR"

Response: { "count": 1, "items": [ { "fullName": "Jean DUPONT", ... } ] }

You can also run it through the Apify API (run-sync-get-dataset-items), the Apify MCP server, Make, Zapier, n8n and other integrations. AI agents can pay per call with x402 (USDC) through Apify's agentic payments, without needing an Apify account.

Input example

{
"emails": [
{
"id": "sample-en",
"text": "From: Sarah O'Connor <sarah.oconnor@globex.com>\nSubject: Re: Q1 campaign\n\nHi Tom,\n\nSounds great - I will send the brief tomorrow morning.\n\nBest regards,\nSarah O'Connor\nVP of Marketing | Globex Inc.\nM: +1 646 555 0199 | O: (212) 555-0147\n350 Fifth Avenue, Suite 4100, New York, NY 10118\nwww.globex.com | linkedin.com/in/sarahoconnor | Twitter: @sarahoconnor\n\nOn Mon, Nov 16, 2026 at 9:12 AM Tom Baker <tom@example.com> wrote:\n> Can you share the brief?"
}
],
"defaultCountry": "US",
"includeSignatureText": false
}
FieldDescription
emailsStrings or {"id", "text", "from"} objects; plain text, HTML or full .eml
textA single email (handy for GET requests)
defaultCountryISO country for phone numbers without + (default US)
includeSignatureTextAlso return the detected signature block

Output example

{
"id": "sample-en",
"from": { "name": "Sarah O'Connor", "email": "sarah.oconnor@globex.com" },
"subject": "Re: Q1 campaign",
"fullName": "Sarah O'Connor",
"firstName": "Sarah",
"lastName": "O'Connor",
"jobTitle": "VP of Marketing",
"company": "Globex Inc.",
"emails": ["sarah.oconnor@globex.com"],
"phones": [
{ "number": "+16465550199", "type": "mobile", "country": "US", "label": "mobile", "international": "+1 646 555 0199", "national": "(646) 555-0199", "raw": "+1 646 555 0199" },
{ "number": "+12125550147", "type": "fixed", "country": "US", "label": "office", "international": "+1 212 555 0147", "national": "(212) 555-0147", "raw": "(212) 555-0147" }
],
"websites": ["https://www.globex.com"],
"linkedin": "https://linkedin.com/in/sarahoconnor",
"twitter": "https://x.com/sarahoconnor",
"socialProfiles": [],
"address": { "full": "350 Fifth Avenue, Suite 4100, New York, NY 10118", "street": "350 Fifth Avenue, Suite 4100", "postalCode": "10118", "city": "New York", "country": "US" },
"signatureFound": true,
"signatureDetection": "sign-off",
"inputFormat": "text+headers",
"quotedTextRemoved": true,
"confidence": { "fullName": 0.97, "jobTitle": 0.85, "company": 0.95, "emails": 0.95, "phones": 0.92, "websites": 0.9, "linkedin": 0.95, "twitter": 0.9, "address": 0.85 }
}
  • phones[].type: mobile, fixed, fixed_or_mobile (US/CA numbers without a label), toll_free, voip, fax…
  • signatureDetection: delimiter (--), sign-off, contact-block (no sign-off, contact-dense bottom block) or none.
  • confidence: 0-1 per field. Values below about 0.5 are guesses, e.g. a company derived only from the email domain (0.35).

Pricing

This Actor uses pay-per-event pricing. You only pay for parsed emails:

EventPrice
Contact parsed (contact-parsed)$3 per 1,000 emails ($0.003 each)

Empty or unparseable inputs are not charged. Apify platform usage (compute) is billed separately and is tiny: parsing takes about 1-6 ms per email on 512 MB. Set Maximum cost per run to cap your spend.

FAQ

How accurate is it? On 53 realistic test emails in 7 languages (threads, HTML, .eml, disclaimers, multi-phone signatures), all fields are extracted correctly. On two held-out sets written independently of the parser, about 89-90% of fields were right before any tuning. Expect very high accuracy for emails, phones, websites and social links. Name, title, company and address depend on how conventional the signature is. Use the confidence scores to route low-confidence records to review.

Which languages and countries are supported? Sign-offs, reply headers, disclaimers, job titles and phone labels in English, French, German, Spanish, Italian, Dutch and Portuguese. Phone numbers from every country libphonenumber supports. Address heuristics for the countries listed above. Other languages still get emails, phones, links and often the name.

Can I send .eml files or HTML emails? Yes. Pass the raw .eml content (headers + MIME body) or the HTML as the email text. Quoted-printable, base64, encoded From: names and multipart messages are decoded automatically.

What if the signature is an image? Text inside images is not read (no OCR). The name and email are still taken from the From: header when present.

What about numbers without a country code? They are interpreted with defaultCountry, then with countries hinted by the signature (website/email TLD, address, other + numbers). Invalid numbers, dates, postal codes and VAT/registration numbers are ignored.

Is there a size limit? Each email is cut at 2 million characters (signatures are near the top of the newest message, so this never matters in practice). Batch thousands of emails per run; throughput is about 2,500 emails per second of CPU.

Is my data private? Yes. Parsing runs entirely inside your Apify run, with no third-party APIs and no LLMs. Results are stored only in your own dataset.

Is it legal to extract contact data from emails? Parsing emails you legitimately received or hold is generally fine. Storing and using personal data (names, phones) is subject to privacy laws such as GDPR and CCPA. Make sure you have a lawful basis, keep the data secure, and honour deletion requests.