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