Overview
This node integrates with the Taximail API to send transactional emails, SMS messages, and OTP (One-Time Password) SMS, as well as verify OTP codes and check message delivery status. The "Send Email" operation allows users to send customized or templated emails by specifying sender and recipient details, subject, and HTML content or by using a predefined email template key.
Common scenarios include:
- Sending notification or confirmation emails from workflows.
- Using existing email templates for consistent branding.
- Automating email communications triggered by events in other systems.
Example: Automatically send a welcome email to new users with personalized content or a pre-designed template.
Properties
| Name | Meaning |
|---|---|
| To Email | Recipient's email address where the email will be sent. |
| From Email | Sender's email address shown as the source of the email. |
| From Name | Display name of the sender shown in the recipient's inbox. |
| Email Template Key | Optional key to use an existing email template instead of custom subject and content. |
| Subject | Subject line of the email; not required if using an email template key. |
| HTML Content | HTML body content of the email; not required if using an email template key. |
Output
The node outputs a JSON object containing the response from the Taximail API along with some additional metadata:
operation: The type of operation performed, here always"email".message_id: A unique identifier generated for the email message, useful for tracking or checking delivery status later.note: A message advising to save themessage_idfor future reference.- Other fields returned by the Taximail API response are included as-is.
No binary data output is produced by this operation.
Dependencies
- Requires an API authentication credential (HTTP Basic Auth) with username and password for the Taximail service.
- The node uses the Taximail REST API endpoints under
https://api.taximail.com/v2/transactional. - Proper configuration of credentials in n8n is necessary before using this node.
Troubleshooting
- Missing Required Fields: Ensure that "To Email", "From Email", and "From Name" are provided; otherwise, the node will throw errors.
- Template Key Usage: If an email template key is specified, do not provide subject or HTML content, as they are ignored.
- API Authentication Errors: Verify that the API credentials are correct and have sufficient permissions.
- Unknown Operation Error: This should not occur when selecting "Send Email" but indicates an invalid operation parameter.
- Operation Failed: Generic error wrapping any failure during the API request; check the detailed error message for specifics.
Links and References
- Taximail API Documentation (for detailed API usage and templates)
- n8n HTTP Request Node (for understanding how API requests are made internally)