checkEmail
Checks if the given email address is likely to have a typo and returns suggestions for the correct email
Example:
query CheckForTypo($email: Email!) { checkEmail(email: $email) { suggestions } }query CheckForTypo($email: Email!) { checkEmail(email: $email) { suggestions } }
If the email address is likely to have a typo, the response will contain a list of suggestions for the correct email address. If the email address is likely correct, the response will contain an empty list.
Example inputs and outputs:
| Input | Suggestion |
|---|---|
| john.doe@gnail.com | john.doe@gmail.com |
| peter@gmail.co | peter@gmail.com |
Arguments
| Argument | Description | Type |
|---|---|---|
| Email! |
Type
This field resolves to CheckEmailResult, which has the following fields:
| Field | Description | Type |
|---|---|---|
suggestions | Suggested alternative email addresses, if any. | [ String ] |