EmailConnect icon

EmailConnect

Interact with EmailConnect API for email automation

Overview

This node interacts with the EmailConnect API to manage email aliases, domains, and webhooks for email automation workflows. Specifically, the Alias - Delete operation allows users to delete an existing email alias associated with a domain. This is useful in scenarios where an alias is no longer needed or should be removed to prevent further email forwarding.

Practical examples include:

  • Cleaning up unused or obsolete email aliases to maintain organized email routing.
  • Automating alias lifecycle management as part of onboarding/offboarding processes.
  • Removing aliases that were created temporarily for campaigns or testing.

Properties

Name Meaning
Alias Name or ID Select an existing alias from the list (populated based on the selected domain) or specify its ID using an expression. This identifies which alias to delete.

Output

The output JSON contains a confirmation of the deletion operation with two fields:

{
  "success": true,
  "aliasId": "the-id-of-the-deleted-alias"
}
  • success: A boolean indicating whether the alias was successfully deleted.
  • aliasId: The identifier of the alias that was deleted.

No binary data is output by this operation.

Dependencies

  • Requires an active connection to the EmailConnect API.
  • Requires an API authentication credential configured in n8n to authorize requests.
  • The node depends on the EmailConnect API endpoints for managing aliases (/api/aliases).

Troubleshooting

  • Common issues:

    • Attempting to delete an alias that does not exist or has already been deleted will likely result in an error from the API.
    • Providing an invalid or expired API key will cause authentication failures.
    • Not selecting a domain before choosing an alias may result in an empty alias list or errors.
  • Error messages and resolutions:

    • "Alias not found": Verify the alias ID or name is correct and belongs to the selected domain.
    • "Unauthorized" or "Authentication failed": Check that the API credentials are valid and have necessary permissions.
    • "Failed to load aliases": Ensure the domain ID is correctly set and the API service is reachable.

Links and References

Discussion