# Company domain email generator

**Use case:** 

Generate candidate emails for one company domain using known employee samples and DNS validation.

## Input

```json
{
  "domains": [
    "stripe.com"
  ],
  "sampleContacts": [
    {
      "email": "adoe@example.com",
      "firstName": "Alice",
      "lastName": "Doe"
    },
    {
      "email": "bsmith@example.com",
      "firstName": "Bob",
      "lastName": "Smith"
    }
  ],
  "targetContacts": [
    {
      "firstName": "Dana",
      "lastName": "White",
      "domain": "example.com"
    },
    {
      "firstName": "Evan",
      "lastName": "Stone",
      "domain": "example.com"
    }
  ],
  "confidenceThreshold": 0.25,
  "maxGuessesPerPerson": 2,
  "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.