--- name: send-email description: Send HTML email notifications via Azure Logic App. Use when (1) sending formatted emails to recipients, (2) delivering reports or summaries via email, (3) triggering email notifications from workflows. Triggers on requests like "send email", "email this", "send via email", "mail to". --- # Send Email Skill Send HTML email notifications to specified recipients via an Azure Logic App HTTP trigger. ## Overview This skill constructs a well-formatted HTML email from user-provided content and posts it to a configured Logic App endpoint for delivery. ## Usage ### Required Environment Variable The mailing URL must be set via environment variable: - `MAILING_URL`: The Azure Logic App HTTP trigger URL for email sending ### Required Input from User The user must provide: 1. **Content**: The information/message to be sent (any format - text, data, structured content) 2. **Recipients**: One or more email addresses 3. **Title** (optional): Subject line for the email 4. **Time frame** (optional): Relevant date/period context ### Payload Schema The skill constructs and sends a JSON payload: ```json { "title": "Email Subject", "timeFrame": "January 28, 2026", "body": "...", "workflowRunUrl": "https://github.com/org/repo/actions/runs/12345", "recipients": ["user1@example.com", "user2@example.com"] } ``` For the full JSON schema, see [references/payload-schema.json](references/payload-schema.json). ### HTML Body Construction The skill must transform user-provided content into well-formatted HTML: 1. **Use semantic HTML structure with inline CSS** (email clients don't support external stylesheets) 2. **Base template**: ```html

{{title}}

{{timeFrame}}

{{content}}

Generated by GitHub Actions workflow

``` 3. **Content formatting guidelines**: - Plain text → Wrap in `

` tags - Lists → Use `