Repository navigation
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