# Email Verifier Attributes

## Email Verification Fields

| Attribute       | Description                                                                                                                                        | Example                                           |
| --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------- |
| `email`         | The email address that was verified.                                                                                                               | m@wordpress.org                                   |
| `status`        | General status of the email syntax and lookup. It can be one of: `valid`, `invalid`, `accept_all`, `webmail`, `disposable`, `unknown`.            | valid                                             |
| `result`        | Final verdict on deliverability. It can be one of: `deliverable`, `undeliverable`, `risky`.                                                       | deliverable                                       |
| `score`         | Confidence score from 0 to 100. Higher score = better quality.                                                                                     | 100                                               |
| `regex`         | Checks if the email matches standard email pattern.                                                                                                | <Badge variant="secondary">true</Badge>           |
| `mx.records`    | Whether MX (Mail Exchange) DNS records were found.                                                                                                 |                                                   |
| `mx_check`      | Whether the domain has valid and working MX (Mail Exchange) records, confirming it can receive emails.                                             | ['aspmx.l.google.com', 'alt2.aspmx.l.google.com'] |
| `smtp_server`   | Whether an SMTP server was found for the domain.                                                                                                   | <Badge variant="secondary">true</Badge>           |
| `smtp_check`    | Whether the SMTP server responded positively to the email probe.                                                                                   | <Badge variant="secondary">true</Badge>           |
| `smtp_provider` | Whether the SMTP provider (email sending service) for the domain was identified.                                                                   | Google Workspace                                  |
| `accept_all`    | Whether the domain accepts all emails (catch-all).                                                                                                 | <Badge variant="default">false</Badge>            |
| `block`         | Whether the domain is blocked or blacklisted.                                                                                                      | <Badge variant="default">false</Badge>            |
| `gibberish`     | Whether the local part (before @) of the email looks random/gibberish.                                                                             | <Badge variant="default">false</Badge>            |
| `disposable`    | Whether the email comes from a disposable (temporary) provider.                                                                                    | <Badge variant="default">false</Badge>            |
| `webmail`       | Whether the domain is a webmail provider (e.g., Gmail, Yahoo).                                                                                     | <Badge variant="default">false</Badge>            |
| `greylisted`    | Whether the email server temporarily deferred the verification attempt (greylisting), which may require retrying later.                            | <Badge variant="default">false</Badge>            |

---

## Email Status Field

The `status` field in Tomba's email verification response indicates the deliverability and quality of the provided email address. It can take one of the following **six possible values**:

### Possible Status Values

| Status       | Description                                                               |
| ------------ | ------------------------------------------------------------------------- |
| `valid`      | The email address is valid and deliverable.                               |
| `invalid`    | The email address is not valid or does not exist.                         |
| `accept_all` | The domain accepts all email addresses regardless of their validity.      |
| `webmail`    | The email address is from a public email provider (e.g., Gmail, Outlook). |
| `disposable` | The email is from a temporary/disposable service (e.g., Mailinator).      |
| `unknown`    | Tomba could not verify the email address due to a technical issue.        |

---

### Notes

- **`accept_all` domains** may give false positives. Use the `score` and other signals to decide confidence.
- **`unknown`** status may be caused by SMTP timeouts, greylisting, or temporary blocks.
- The `status` value is always returned along with `result`, `score`, and `smtp_check` for more context.

---

## Email Result Field

The `result` field summarizes the overall outcome of the email verification check. It is based on factors such as syntax, MX records, SMTP checks, and domain behavior.

### Possible Result Values

| Result          | Description                                                                                                    |
| --------------- | -------------------------------------------------------------------------------------------------------------- |
| `deliverable`   | The email address is valid and deliverable.                                                                    |
| `undeliverable` | The email address is not valid and cannot be delivered to.                                                     |
| `risky`         | The verification could not be fully confirmed, often due to catch-all domains, greylisting, or timeout issues. |

---

### Notes

- **`deliverable`** means the address is safe to send emails to.
- **`undeliverable`** suggests the address is invalid or the server rejected it.
- **`risky`** requires caution. Combine it with `score` and `accept_all` for a more accurate decision.
