ksatriow/Action Mailer ✨
Send beautiful emails via SMTP or AWS SES with HTML templates, CC/BCC, and attachments.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| smtp-server | SMTP server hostname (leave empty to use AWS SES automatically) | no | — |
| smtp-port | SMTP server port (default: 465) | no | 465 |
| smtp-secure | Use secure connection (true/false) | no | true |
| aws-region | AWS region for SES (optional if using SMTP) | no | — |
| username | SMTP username or AWS access key | no | — |
| password | SMTP password or AWS secret key | no | — |
| from-email | Sender email address | yes | — |
| to-email | Recipient email addresses (comma-separated) | yes | — |
| cc-email | CC recipients (comma-separated) | no | — |
| bcc-email | BCC recipients (comma-separated) | no | — |
| subject | Email subject | yes | — |
| body | Plain text email body | no | — |
| html-template | Path to HTML template (Handlebars supported) | no | — |
| template-variables | JSON string with variables for template (e.g., '{"name": "John"}') | no | — |
| attachments | Comma-separated file paths or glob patterns for attachments | no | — |
| reply-to | Reply-To email address | no | — |
| custom-headers | JSON string with custom email headers (e.g., '{"X-Custom-Header": "value"}') | no | — |
| dry-run | Test mode - validates configuration without sending email (true/false) | no | false |
| debug | Enable debug mode with verbose logging (true/false) | no | false |
| retry-count | Number of retry attempts if email sending fails (default: 0) | no | 0 |
| retry-delay | Delay in milliseconds between retries (default: 1000) | no | 1000 |
Outputs
| name | description |
|---|---|
| message-id | The message ID returned by the email provider |
| success | Set to 'true' on successful send |