Sends custom emails with dynamic content, HTML formatting, and recipient lists for notifications, reports, and automated communications.
The sendEmail function enables Vibes to send custom emails with dynamic content, allowing workflows to notify users, send reports, or deliver processed information via email.
Send emails with custom subject lines, HTML content, and recipient lists to keep stakeholders informed, deliver results, and maintain communication throughout automated processes.
HTML Support: The sendEmail function supports full HTML formatting in the body parameter, enabling rich formatting, tables, links, and professional email layouts.
| Parameter | Type | Required | Description |
|---|---|---|---|
| to_email | string | Primary recipient email address | |
| subject | string | Email subject line | |
| body | string | Email content (supports HTML formatting) | |
| cc_list | array | Optional | List of CC recipient email addresses |
| bcc_list | array | Optional | List of BCC recipient email addresses |
{
"success": true
}Basic email notification with static content:
Advanced email with dynamic content, multiple recipients, and variable interpolation:
Using global variables for consistent email configuration across workflows:
sendEmail works seamlessly with other Vibes functions to create comprehensive communication workflows:
Extract recipient information and custom messages from conversations:
Send formatted data tables in email reports:
Set up automated recurring email reports:
The sendEmail function includes comprehensive error handling to ensure reliable email delivery:
Malformed or non-existent email addresses will cause delivery failures
Network issues or recipient server problems can prevent delivery
Invalid HTML or character encoding can affect email display
Create professional, well-formatted emails that clearly communicate your message.
Prevent errors and ensure reliable schedule cancellation operations.
Manage email recipients effectively while respecting privacy and communication preferences.
Optimize email content for clarity, professionalism, and cross-client compatibility.
Notify users when automated processes complete:
Send system alerts and monitoring notifications:
Distribute automated reports to stakeholders:
These functions complement sendEmail for building comprehensive communication and reporting workflows: