Zoho Mail

Interact with Zoho Mail API

Actions5

Overview

The Zoho Mail node allows users to interact with the Zoho Mail API, specifically for managing messages and attachments. The "Delete" operation enables users to remove a specific message from their Zoho Mail account by providing the necessary identifiers. This functionality is particularly useful in scenarios where users need to automate email management tasks, such as cleaning up inboxes or removing outdated messages programmatically.

Common Scenarios:

  • Automating the deletion of promotional emails after a certain period.
  • Integrating with other applications to manage email content dynamically based on user actions or events.

Properties

Name Meaning
Account ID The unique identifier for the Zoho Mail account from which the message will be deleted. This property is required.
Message ID The unique identifier of the message that needs to be deleted. This property is required when performing the delete operation.

Output

The output of the execute() method will return an array containing the result of the delete operation. If the deletion is successful, the response will typically be an empty object indicating that the message has been successfully removed. If there are any issues, appropriate error handling will provide feedback.

Dependencies

  • API Authentication: Users must provide valid OAuth2 credentials for accessing the Zoho Mail API.
  • Required Configuration: Ensure that the n8n environment is set up to handle OAuth2 authentication for the Zoho Mail service.

Troubleshooting

  • Common Issues:

    • Missing or incorrect Account ID or Message ID can lead to failed deletion attempts.
    • Insufficient permissions associated with the provided API key may prevent successful operations.
  • Error Messages:

    • If the specified Message ID does not exist, the node may throw an error indicating that the message could not be found. To resolve this, verify the Message ID being used.
    • If the Account ID is invalid or the user lacks permission, an authentication error may occur. Ensure that the correct credentials are being used and that they have the necessary permissions.

Links and References

Discussion