# SaaS email pattern finder

**Use case:** 

Find likely SaaS company email patterns from known contacts and generate candidate work emails for sales prospecting.

## Input

```json
{
  "domains": [
    "stripe.com"
  ],
  "sampleContacts": [
    {
      "email": "john.doe@stripe.com",
      "firstName": "John",
      "lastName": "Doe"
    },
    {
      "email": "jane.smith@stripe.com",
      "firstName": "Jane",
      "lastName": "Smith"
    }
  ],
  "targetContacts": [
    {
      "fullName": "Alex Taylor",
      "domain": "stripe.com",
      "sourceId": "lead-001"
    }
  ],
  "confidenceThreshold": 0.25,
  "maxGuessesPerPerson": 3,
  "validateMx": true,
  "includeLowConfidencePatterns": false
}
```

## Output

```json
{
  "domain": {
    "label": "Domain",
    "format": "text"
  },
  "targetFullName": {
    "label": "Target name",
    "format": "text"
  },
  "topPattern": {
    "label": "Top pattern",
    "format": "text"
  },
  "confidenceScore": {
    "label": "Confidence",
    "format": "number"
  },
  "evidenceCount": {
    "label": "Evidence rows",
    "format": "number"
  },
  "generatedEmailSummary": {
    "label": "Generated emails",
    "format": "text"
  },
  "domainHasMx": {
    "label": "MX found",
    "format": "boolean"
  },
  "warningSummary": {
    "label": "Warnings",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Email Pattern Finder](https://apify.com/automation-lab/email-pattern-finder) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/email-pattern-finder) to learn more, explore other use cases, and run it yourself.