send_simple_email
Send a simple email to a recipient with subject and body, supporting HTML content and custom SMTP configuration.
Instructions
Send a simple email.
Args:
to: Recipient email address
subject: Email subject
body: Email body content
is_html: Whether body is HTML (default: False)
smtp_config: Optional SMTP configuration override with:
- host: SMTP server hostname
- port: SMTP server port
- secure: Use SSL/TLS
- username: Auth username
- password: Auth password
- from_email: Sender email address
Falls back to environment variables if not provided.
Returns:
Success message or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| subject | Yes | ||
| body | Yes | ||
| is_html | No | ||
| smtp_config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |