Check email syntax offline (free)
check_email_syntaxValidate email syntax and normalize addresses locally. Use for quick pre-filtering or parsing before deliverability checks, when only format matters.
Instructions
WHAT: Check whether strings are syntactically valid email addresses and normalize them (extracts "Name ", lowercases the domain), entirely locally. WHEN TO USE: fast pre-filtering or parsing before calling validate_emails, or when only the format matters. WHEN NOT TO USE: it does not check that the domain exists, has MX records, is disposable, a role account or a typo - use validate_emails (paid) for deliverability. COST: free; pure local function, no network, no APIFY_TOKEN, deterministic. RETURNS: {count, items}: one "email_syntax" row per input with input, email (normalized), syntax_valid, local_part, domain, reason (null or INVALID_SYNTAX). EXAMPLE: {"emails":["Jane jane@Example.com"]} -> email "jane@example.com", syntax_valid true, domain "example.com".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| emails | Yes | Required. 1-10000 strings to check; each may be a bare address or "Name <addr>" form. Example: ["Jane <jane@Example.com>","not-an-email"] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | Number of rows returned | |
| items | Yes | Result rows; each has a "type" field (data rows or machine-readable "error" rows) |