0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Business → Verify an Email and Correct It

AI-generated

Overview

This node verifies and corrects email addresses for business-related workflows. It is useful in scenarios where you need to validate user-submitted emails, clean up contact lists, or ensure that emails are deliverable before sending communications. For example, it can be used to check the validity of customer emails during onboarding, or to sanitize a marketing mailing list.

Properties

Name Meaning
Domain The email address to verify and correct (e.g., name@email.com). This field is required.

Output

The output will be a JSON object containing the results of the email verification and correction process. While the exact structure depends on the external service response, typical fields may include:

  • email: The input email address.
  • isValid: Boolean indicating if the email is valid.
  • correctedEmail: Suggested correction if the original email had errors.
  • reason or message: Additional information about the validation result.

Example output:

{
  "email": "johndoe@gmial.com",
  "isValid": false,
  "correctedEmail": "johndoe@gmail.com",
  "reason": "Domain typo detected and corrected"
}

Dependencies

  • External Service: Requires access to the CodeKit API for email validation.
  • API Key: You must configure the codeKitApi credential in n8n for authentication.

Troubleshooting

  • Common Issues:
    • Invalid or missing API credentials will cause authentication errors.
    • Malformed or empty email addresses will result in validation failures.
  • Error Messages:
    • "Missing required parameter: email": Ensure the "Domain" property is filled with a valid email address.
    • "Invalid API key": Check your codeKitApi credentials configuration.
    • "Network error": Verify network connectivity and API endpoint availability.

Links and References

Discussion