Actions4
- 👨👩👧 Audiences Actions
- ✉️ Emails Actions
- 📰 Events Actions
Overview
This node allows sending emails through the AvantGuard EmailIt API. It is designed to facilitate automated email dispatch within workflows, making it useful for scenarios such as sending notifications, alerts, marketing emails, or transactional messages directly from n8n.
Typical use cases include:
- Sending confirmation or welcome emails after user registration.
- Dispatching alert emails based on system events or monitoring triggers.
- Automating marketing campaigns by sending bulk or personalized emails.
- Integrating email sending into multi-step automation workflows.
Properties
| Name | Meaning |
|---|---|
| From | The sender's email address. |
| To | The recipient's email address. |
| Additional Body Fields | Optional fields to customize the email further: |
| - Reply To | Email address for replies to be sent to. |
| - Subject | Subject line of the email. |
| - Html | HTML content of the email body. |
| - Headers | JSON object representing additional email headers. |
| - Attachments | JSON array describing files to attach to the email. |
Output
The node outputs a JSON object containing the response from the AvantGuard EmailIt API after attempting to send the email. This typically includes status information about the email delivery request.
If attachments are included, they are sent along with the email but the output does not contain binary data; it only reflects the API response metadata.
Dependencies
- Requires an API key credential for authenticating with the AvantGuard EmailIt service.
- The node uses the base URL
https://api.emailit.com/v1for API requests. - Proper configuration of the API key credential in n8n is necessary for successful operation.
Troubleshooting
- Invalid Credentials: If the API key is missing or incorrect, the node will fail authentication. Ensure the API key credential is correctly set up.
- Malformed JSON in Headers or Attachments: Since these fields expect JSON input, invalid JSON syntax will cause errors. Validate JSON formatting before execution.
- Missing Required Fields: The "From" and "To" email addresses are mandatory. Omitting them will result in errors.
- API Rate Limits or Service Downtime: Network issues or rate limiting by the API may cause failures. Check API status and retry later if needed.
Links and References
- AvantGuard EmailIt API Documentation (hypothetical link for reference)
- n8n Documentation on Creating Custom Nodes