EmailConnect icon

EmailConnect

Interact with EmailConnect API for email automation

Overview

This node interacts with the EmailConnect API to manage email domains, aliases, and webhooks. Specifically, for the Domain - Get Status operation, it retrieves the verification status of a specified domain. This is useful in scenarios where you need to check if a domain has been properly verified and configured for sending or receiving emails through EmailConnect.

Practical examples include:

  • Automatically checking domain verification status before sending marketing campaigns.
  • Monitoring domain health and configuration status as part of an automated workflow.
  • Triggering alerts or follow-up actions if a domain is not verified.

Properties

Name Meaning
Domain Name or ID Select a domain from the list or specify its ID using an expression. Represents the target domain whose status will be retrieved.

Output

The output JSON contains the domain's verification status information as returned by the EmailConnect API endpoint /api/domains/{domainId}/status. The exact structure depends on the API response but typically includes fields indicating whether the domain is verified, any errors or warnings related to DNS records, and other relevant status details.

No binary data is output by this operation.

Example output (simplified):

{
  "verified": true,
  "dnsRecords": {
    "spf": "valid",
    "dkim": "valid",
    "mx": "valid"
  },
  "message": "Domain is fully verified"
}

Dependencies

  • Requires an active connection to the EmailConnect API.
  • Needs an API authentication credential configured in n8n to authorize requests.
  • The node uses internal methods to load available domains dynamically for selection.

Troubleshooting

  • Common issues:

    • Invalid or missing domain ID: Ensure the domain exists and is selected correctly.
    • API authentication failure: Verify that the API key or token is valid and has necessary permissions.
    • Network connectivity problems: Confirm that n8n can reach the EmailConnect API endpoint.
  • Error messages:

    • "Domain not found": The specified domain ID does not exist; double-check the domain selection.
    • "Unauthorized" or "Authentication failed": Check API credentials and re-authenticate.
    • "Unknown error occurred": Generic catch-all; inspect logs and API responses for more details.

Links and References

Discussion