소스 정보
- 저장소
- ThinkfleetAI/thinkfleet-engine
- 최근 소스 활동
- 2026년 2월 1일 16:21
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- aws-ses
- description
- Send email via AWS Simple Email Service using Python boto3.
- metadata
- {"thinkfleetbot":{"emoji":"📬","requires":{"bins":"[Truncated]","env":"[Truncated]"}}}
# AWS SES
Send email via AWS Simple Email Service.
## Environment Variables
- `AWS_ACCESS_KEY_ID` - AWS access key
- `AWS_SECRET_ACCESS_KEY` - AWS secret key
- `AWS_DEFAULT_REGION` - SES region (e.g. `us-east-1`)
- `SES_FROM_EMAIL` - Verified sender email
## Setup
```bash
pip3 install boto3 2>/dev/null
```
## Send plain text email
```bash
python3 -c "
import boto3, os, sys
ses = boto3.client('ses', region_name=os.environ.get('AWS_DEFAULT_REGION', 'us-east-1'))
resp = ses.send_email(
Source=os.environ['SES_FROM_EMAIL'],
Destination={'ToAddresses': [sys.argv[1]]},
Message={
'Subject': {'Data': sys.argv[2]},
'Body': {'Text': {'Data': sys.argv[3]}}
}
)
print(f\"Sent: {resp['MessageId']}\")
" "recipient@example.com" "Subject line" "Body text"
```
## Send HTML email
```bash
python3 -c "
import boto3, os
ses = boto3.client('ses')
ses.send_email(
Source=os.environ['SES_FROM_EMAIL'],
Destination={'ToAddresses': ['recipient@example.com']},
Message={
'Subject': {'Data': 'HTML Email'},
'Body': {'Html': {'Data': '<h1>Hello</h1><p>From ThinkFleetBot</p>'}}
}
)
print('Sent')
"
```
## Check sending quota
```bash
python3 -c "
import boto3
ses = boto3.client('ses')
q = ses.get_send_quota()
print(f\"24h max: {q['Max24HourSend']}, sent: {q['SentLast24Hours']}, rate: {q['MaxSendRate']}/s\")
"
```
## Notes
- Sender email must be verified in SES (or domain-verified).
- In sandbox mode, recipient emails must also be verified.
- Always confirm recipient and content with the user before sending.
GitHub에서 보기