send_custom_email
Send a custom email with full configuration including recipients, subject, body (plain text or HTML), attachments, and optional SMTP settings.
Instructions
Send a custom email with full configuration options.
Args:
email: Email message details including:
- to: Recipient email address(es) (string or list)
- cc: CC email address(es) (optional, string or list)
- bcc: BCC email address(es) (optional, string or list)
- subject: Email subject
- text: Plain text email body (optional)
- html: HTML email body (optional)
- attachments: List of attachments (optional), each with:
- path: Local file path to attach (preferred)
- content: Base64-encoded file content (alternative to path)
- filename: Override filename (auto-derived from path if omitted)
- mime_type: MIME type override (optional)
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
Returns:
Success message or error message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| smtp_config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |