EmailConnect icon

EmailConnect

Interact with EmailConnect API for email automation

Overview

The node interacts with the EmailConnect API to update the configuration settings of a specific email domain. It allows users to modify how incoming emails are processed by enabling or disabling the inclusion of attachments and SMTP envelope data in webhook payloads.

This node is beneficial when you want to customize the behavior of email processing for a domain, such as deciding whether to forward attachments or detailed SMTP information along with the email data to your webhook endpoint.

Practical example:
You have an automated workflow that processes incoming emails for a domain. By updating the domain configuration, you can choose to include attachments in the webhook payload so that your workflow can handle file processing, or include envelope data to track sender/recipient metadata for compliance or logging purposes.

Properties

Name Meaning
Domain Name or ID Select the domain to update from a list or specify its ID using an expression.
Allow Attachments Boolean option to enable or disable including email attachments in the webhook payload.
Include Envelope Data Boolean option to enable or disable including SMTP envelope data in the webhook payload.

Output

The node outputs JSON objects representing the updated domain configuration as returned by the EmailConnect API. The output includes the current settings of the domain after the update operation.

No binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating with the EmailConnect API.
  • The node uses HTTP requests to the EmailConnect API endpoints.
  • Proper network access to the EmailConnect API service is necessary.

Troubleshooting

  • Common issues:

    • Invalid domain ID or domain not found: Ensure the domain ID is correct and exists in your EmailConnect account.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network connectivity problems: Confirm that your n8n instance can reach the EmailConnect API endpoints.
  • Error messages:

    • Errors returned from the API will be passed through. For example, "Domain not found" indicates an invalid domain ID.
    • "Unauthorized" or similar authentication errors suggest issues with the API key.

To resolve these, double-check input parameters, credentials, and network settings.

Links and References

Discussion