What it does

The Send Email tool allows your agents to send HTML-formatted emails to one or multiple recipients. Perfect for notifications, reports, alerts, and automated communications.

Key features

  • Send to multiple recipients at once
  • Full HTML email support with formatting
  • Custom subject lines
  • Automatic email delivery handling
  • Support for rich content including links and styling

Parameters

ParameterTypeRequiredDescription
toarrayYesList of recipient email addresses
subjectstringYesThe email subject line
htmlstringYesHTML content of the email

Common use cases

Send notifications

to: ["user@example.com"]
subject: "Task Completed Successfully"
html: "<h2>Task Update</h2><p>Your data analysis task has been completed successfully. Please check the results in your dashboard.</p>"
Notify users about completed tasks or status updates.

Send reports

to: ["manager@company.com", "team@company.com"]
subject: "Weekly Sales Report"
html: "<h1>Weekly Sales Report</h1><p>Total sales this week: <strong>$15,000</strong></p><ul><li>Product A: $8,000</li><li>Product B: $7,000</li></ul>"
Distribute regular reports to stakeholders.

Send alerts

to: ["admin@company.com"]
subject: "System Alert: High CPU Usage"
html: "<div style='color: red;'><h2>⚠️ System Alert</h2><p>CPU usage has exceeded 90% for the past 10 minutes.</p><p>Please investigate immediately.</p></div>"
Send urgent alerts and system notifications.

Send formatted updates

to: ["client@example.com"]
subject: "Project Status Update"
html: "<h2>Project Progress</h2><p>Dear Client,</p><p>Here's your weekly project update:</p><table border='1'><tr><th>Task</th><th>Status</th></tr><tr><td>Design</td><td>✅ Complete</td></tr><tr><td>Development</td><td>🔄 In Progress</td></tr></table>"
Send professional updates with tables and formatting.

HTML formatting tips

  • Use standard HTML tags: <h1>, <h2>, <p>, <strong>, <em>
  • Create lists with <ul> and <ol> tags
  • Add links with <a href="url">text</a>
  • Use tables for structured data
  • Apply inline CSS for styling: <div style="color: blue;">
  • Include line breaks with <br> tags

Best practices

  • Keep subject lines clear and descriptive
  • Use proper HTML structure for better email client compatibility
  • Test HTML content before sending to multiple recipients
  • Include unsubscribe information for marketing emails
  • Be mindful of email frequency to avoid spam filters
  • Use professional formatting for business communications

Troubleshooting

“Invalid email address”
  • Check that all email addresses are properly formatted
  • Ensure no typos in email addresses
  • Verify that email addresses don’t contain invalid characters
“Email delivery failed”
  • Check if recipient email addresses exist
  • Verify that your email service is properly configured
  • Some email providers may block automated emails
“HTML not rendering properly”
  • Use simple, standard HTML tags
  • Avoid complex CSS that email clients might not support
  • Test with basic formatting first
“Email marked as spam”
  • Avoid spam trigger words in subject lines
  • Include proper sender information
  • Don’t send too many emails in a short time period