Actions5
- Mail Actions
- Contact Actions
Mail → Send Email
AI-generatedOverview
This node sends an email using the Mailtrap service. It is useful for automating email sending tasks such as notifications, alerts, or marketing emails within workflows. For example, it can send a welcome email to new users or notify administrators of system events.
Use Case Examples
- Sending a welcome email to a new user after registration.
- Sending an alert email when a system error occurs.
Properties
| Name | Meaning |
|---|---|
| Authentication | Selects the authentication method to use for sending the email, either API Token or Bearer Token. |
| From Email | The sender's email address. The domain must be verified in Mailtrap. |
| To Email | The recipient's email address. |
| Subject | The subject line of the email. |
| HTML | The content of the email in HTML format. |
| Additional Fields | Optional fields to specify sender and recipient names, and reply-to details. |
Output
JSON
messageId- The unique identifier of the sent email message.status- The status of the email sending operation, e.g., success or failure.
Dependencies
- Mailtrap API access with appropriate authentication token (API Token or Bearer Token).
Troubleshooting
- Ensure the 'From Email' domain is verified in Mailtrap to avoid sending errors.
- Check that the authentication token is valid and has the necessary permissions.
- Verify that the recipient email address is correctly formatted.
- Common error messages may include authentication failures or domain verification errors; resolving these typically involves updating credentials or verifying domain settings in Mailtrap.
Links
- Mailtrap API Documentation - Official documentation for Mailtrap API endpoints and usage.