Zoho Zeptomail icon

Zoho Zeptomail

Consume Zoho ZeptoMail API

Actions2

Overview

This node integrates with the Zoho ZeptoMail API to send emails programmatically. It supports sending plain or HTML emails as well as template-based emails using predefined templates in Zoho ZeptoMail. This node is useful for automating email notifications, marketing campaigns, transactional emails, or any scenario where sending emails dynamically from workflows is required.

For example, you can use this node to:

  • Send a custom notification email when a new user signs up.
  • Dispatch templated newsletters to multiple recipients.
  • Attach files and send invoices automatically after an order is placed.

Properties

Name Meaning
Mail Agent Select the mail agent (email sending service) configured in Zoho ZeptoMail to send the email.
From Collection containing:
- From Address: The sender's email address belonging to the selected mail agent's domain.
- From Name: The display name of the sender.
To Comma-separated list of recipient email addresses.
Subject Subject line of the email (required for "Send Mail" operation).
Body Content of the email in HTML format (optional for "Send Mail").
Reply To Email address to be used for replies.
CC Comma-separated list of CC (carbon copy) email addresses.
BCC Comma-separated list of BCC (blind carbon copy) email addresses.
Attachments Collection containing attachment details:
- Content: Base64 encoded content of the file.
- File Name: Name of the attachment file.
- Mime Type: MIME type of the attachment (e.g., plain/text, image/jpg).

Output

The node outputs JSON data representing the response from the Zoho ZeptoMail API after attempting to send the email. The structure typically includes status information about the sent email.

If the email sending fails and "Continue On Fail" is enabled, the output will include error details with messages explaining the failure.

No binary data output is produced by this node.

Dependencies

  • Requires an API authentication token credential for Zoho ZeptoMail (configured in n8n credentials).
  • Depends on the Zoho ZeptoMail API being accessible and properly configured with valid mail agents and templates.
  • Uses internal helper functions to format recipient addresses and make authenticated API requests.

Troubleshooting

  • Invalid Mail Agent: Ensure the selected mail agent exists and is correctly configured in Zoho ZeptoMail.
  • From Address Domain Mismatch: The "From Address" must belong to the domain associated with the chosen mail agent; otherwise, the API may reject the request.
  • Invalid Email Addresses: Check that all email addresses (To, CC, BCC, Reply To) are valid and properly formatted.
  • Attachment Issues: Attachments must be base64 encoded and have correct MIME types; invalid encoding or unsupported MIME types may cause failures.
  • API Errors: If the API returns errors, inspect the error message included in the output. Common issues include authentication failures, quota limits, or malformed requests.
  • Enable "Continue On Fail" to allow workflow execution to proceed even if some emails fail, capturing error details for review.

Links and References

Discussion