Actions5
- Mail Actions
- Contact Actions
Overview
This node interacts with the Mailtrap service to retrieve contact lists associated with a specified account. It is useful for scenarios where users want to manage or analyze their email contacts stored in Mailtrap, such as syncing contact lists with other systems, exporting contacts for marketing campaigns, or auditing contact data.
For example, a user might use this node to fetch all contact lists from their Mailtrap account to display them in a dashboard or to trigger workflows based on specific contact list contents.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to access Mailtrap API. Options: "API Token" or "Bearer Token". |
| Account ID | The unique identifier of the Mailtrap account from which to retrieve contact lists. |
Output
The node outputs JSON data representing the contact lists retrieved from the specified Mailtrap account. Each item in the output corresponds to a contact list and typically includes details such as the list's name, ID, and possibly metadata related to the list.
If the node supports binary data output (not evident from the provided code), it would represent attachments or files related to contacts, but no such indication is present here.
Dependencies
- Requires valid authentication credentials for Mailtrap, either an API token or a bearer token.
- Needs the Mailtrap account ID to specify the scope of the request.
- The node depends on internal methods and routing logic bundled within the node's source code to perform API calls.
Troubleshooting
- Invalid Authentication: Errors may occur if the provided API token or bearer token is invalid or expired. Ensure that the correct and active credentials are used.
- Incorrect Account ID: Providing an incorrect or non-existent account ID will result in failure to retrieve contact lists. Verify the account ID from the Mailtrap account management page.
- Network Issues: Connectivity problems can cause timeouts or failures. Check network settings and ensure the Mailtrap API endpoint is reachable.
- Permission Denied: If the credentials do not have sufficient permissions to access contact lists, the node will fail. Confirm that the API token or bearer token has the necessary scopes.
Links and References
- Mailtrap Account Management — To find your account ID.
- Mailtrap API Documentation — For detailed API usage and authentication methods.