Install and configure mails-agent in your GitHub Actions workflow. Give your CI/CD pipeline email capabilities for AI agents.
- uses: Digidai/mails-agent-action@v1
with:
api-key: ${{ secrets.MAILS_API_KEY }}| Input | Required | Default | Description |
|---|---|---|---|
api-key |
Yes | Your mails-agent API key (from mails claim) |
|
version |
No | latest |
Specific version to install |
- Installs
mails-agentglobally via npm - Configures your API key
- Runs
mails doctorto verify the setup
After this action runs, you can use mails commands in subsequent steps:
- run: mails send --to user@example.com --subject "Build passed" --body "All tests green"
- run: mails inbox
- run: CODE=$(mails code --to agent@mails0.com --timeout 60)npm install -g mails-agent
mails claim myagentOr visit mails0.com to claim a free mailbox.