w3-io/W3 Email Action
Send email from W3 workflows. Supports SendGrid, Resend. Templates, CC/BCC, attachments.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| provider | Email provider: sendgrid, resend | yes | sendgrid |
| api-key | Provider API key | yes | — |
| to | Recipient email address (or comma-separated list) | yes | — |
| cc | CC recipients (comma-separated) | no | "" |
| bcc | BCC recipients (comma-separated) | no | "" |
| from | Sender email address | yes | — |
| from-name | Sender display name | no | "" |
| subject | Email subject line (not required when using template-id) | no | "" |
| body-html | HTML email body | no | "" |
| body-text | Plain text email body (fallback if no HTML) | no | "" |
| reply-to | Reply-to email address | no | "" |
| template-id | Provider-side template ID (replaces body-html/body-text) | no | "" |
| template-data | JSON object of dynamic data for the template | no | "" |
| attachments | JSON array of attachments: [{"filename": "report.pdf", "content": "<base64>", "type": "application/pdf"}] | no | "" |
Outputs
| name | description |
|---|---|
| result | JSON result of the operation. Includes provider, statusCode, and provider-specific fields. Use fromJSON(steps.<id>.outputs.result).statusCode etc. to access individual fields. |