Sending email from a task Send email by running the bundled Node script — do not assemble JSON in the shell. Why this exists Hand-rolling the send ( curl -sS … -d "{… \"html\": $(echo "$HTML" | jq -R -s '.') …}" ) is fragile: depending on quoting/escaping it produces a malformed body , and the API used to silently deliver an empty footer-only email titled "Message from Recoup" with success:true . The model gets this wrong stochastically. This script removes shell serialization entirely. How to send Write the email body to a file (recommended for HTML — avoids all escaping issues): cat
/tmp/report.html << 'HTML'
Daily Report
…your real content…
HTML Show more Installs 677 Repository recoupable/skills GitHub Stars 1 First Seen 8 days ago Security Audits Gen Agent Trust Hub Pass Socket Pass Snyk Pass