AGENT SKILL

email-ses-sender

暂无简介

使用场景邮件与沟通
License 许可
AGPL-3.0
最近更新
2026-11-13
Stars
★ 81
Forks
17

01 前言 Front Matter

name
email-ses-sender
track
ai-productivity
summary
Send templated emails via AWS SES
version
0.1.0

02 资源文件 4

03 SKILL.md 正文

Description

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

Inputs

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

Outputs

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

Usage

Demo Mode

python scripts/main.py --demo

Send Email

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

Examples

Example 1: Send Email to test@sambitsargam.in

$ 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

$ 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:

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

04 同仓库更多 Skills