Repository navigation
Releases
v1.0.1: Elastic Email Send Email
Elastic Email Send Email v1.0.1
The official GitHub Action for sending email from your workflows through the Elastic Email REST API v4, now on the GitHub Marketplace.
- uses: ElasticEmail/elasticemail-send-email-action@v1
with:
api_key: ${{ secrets.ELASTIC_EMAIL_API_KEY }}
from_email: ci@yourdomain.com
to: dev-team@yourdomain.com
subject: "Build ${{ job.status }}: ${{ github.repository }}"
status: ${{ job.status }}What's changed since v1.0.0
- The repository is now
ElasticEmail/elasticemail-send-email-action, and the action is now Elastic Email Send Email. - The old name
ElasticEmail/send-email-action@v1redirects, so existing workflows keep working. Please switch to the new name when you can. - No code changes. Upgrading needs nothing beyond the new
uses:name.
Features
- Workflow notifications for
success,failureandcancelledruns - Generated templates in HTML or plain text, with the repository, workflow, actor, ref and a link to the run. Pass
bodyto send your own content instead. - Multiple recipients as a comma-separated
tolist message_idoutput with the Elastic Email transaction ID- Runs on
node24, bundled, with no Docker image or install step
Inputs
api_key, from_email, to, subject and status are required. body_type (HTML), body and from_name (GitHub Actions) are optional. from_email must use a domain verified in your Elastic Email account.
Compatibility
- GitHub-hosted or self-hosted runners that support
node24actions - Elastic Email REST API v4
Pin @v1 to get fixes within the major version, or @v1.0.1 for this exact release.
Full changelog: v1.0.0...v1.0.1
v1.0.0
Elastic Email Send Email Action v1.0.0
The first release of the official GitHub Action for sending email from your workflows through the Elastic Email REST API v4.
- uses: ElasticEmail/send-email-action@v1
with:
api_key: ${{ secrets.ELASTIC_EMAIL_API_KEY }}
from_email: ci@yourdomain.com
to: dev-team@yourdomain.com
subject: "Build ${{ job.status }}: ${{ github.repository }}"
status: ${{ job.status }}What's in this release
- Workflow notifications for
success,failureandcancelledruns, sent throughPOST /v4/emails/transactional. - Generated templates in HTML or plain text, with the repository, workflow, actor, ref and a link to the run. Use
bodyto send your own content instead. - Multiple recipients as a comma-separated
tolist, with each address validated. message_idoutput with the Elastic Email transaction ID.- Runs on
node24, bundled with@vercel/ncc. There's no Docker image and no install step. - Dependencies updated to patched versions of
axios(1.20.0),follow-redirects,form-dataandundici.npm auditreports 0 vulnerabilities.
Inputs
api_key, from_email, to, subject and status are required. body_type (HTML), body and from_name (GitHub Actions) are optional. from_email must use a domain verified in your Elastic Email account.
Repository
- New README with setup, quick start, inputs/outputs, troubleshooting and development sections
- Code of Conduct, contributing guide, security policy, and issue and PR templates
- MIT License
Compatibility
- GitHub-hosted or self-hosted runners that support
node24actions - Elastic Email REST API v4
Pin @v1 to get fixes within the major version, or @v1.0.0 for this exact release.
Full changelog: https://github.com/ElasticEmail/send-email-action/commits/v1.0.0