# Email Ses Sender

> Description

- Skill: `jiayaoqijia/email-ses-sender` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add jiayaoqijia/email-ses-sender`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jiayaoqijia/email-ses-sender/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: jiayaoqijia (https://skillmd.com/u/jiayaoqijia)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jiayaoqijia/email-ses-sender

---


## Description

Send templated emails via AWS SES (Simple Email Service). Supports email templates, variables, and sandbox testing mode.

## Inputs

```json
{
  "to": "Recipient email",
  "subject": "Email subject",
  "template": "Template name",
  "variables": {}
}
```

## Outputs

```json
{
  "ok": true,
  "data": {
    "message_id": "Email message ID",
    "status": "sent"
  }
}
```

## Usage

### Demo Mode
```bash
python scripts/main.py --demo
```

### Send Email
```bash
echo '{"to":"user@example.com","subject":"Hello","template":"welcome"}' | python3 scripts/main.py
```

## Examples

### Example 1: Send Email to test@sambitsargam.in
```bash
$ echo '{"to":"test@sambitsargam.in","subject":"Test Email","template":"notification","variables":{"message":"This is a test email"}}' | python3 scripts/main.py
{
  "ok": true,
  "data": {
    "message_id": "0000014a-aee4-4a01-a640-a8f7f5bd5e7e-000001",
    "status": "sent",
    "recipient": "test@sambitsargam.in",
    "timestamp": "2026-02-07T10:15:30Z"
  }
```

### Example 2: Send Email to sambitsargam2003@gmail.com
```bash
$ echo '{"to":"sambitsargam2003@gmail.com","subject":"Important Update","template":"alert","variables":{"alert_type":"system","severity":"high"}}' | python3 scripts/main.py
{
  "ok": true,
  "data": {
    "message_id": "0000014a-aee4-4a01-a640-a8f7f5bd5e7e-000001",
    "status": "sent",
    "recipient": "sambitsargam2003@gmail.com",
    "timestamp": "2026-02-07T10:15:35Z"
  }
}
```

## Error Handling

When an error occurs, the skill returns:

```json
{
  "ok": false,
  "error": "Error description",
  "details": {
    "to": "Invalid email address"
  }
}
```

