pinme-email
仓库创建 2025年4月13日最近提交 2 天前SkillHot 收录 21 天前
▸ 精选理由
简化邮件功能接入,适合实现通知与验证邮件。
▸ 风险提示
发送邮件存在滥用风险,需妥善管理 API Key
这个 Skill 做什么
示范在 PinMe Worker 中调用平台邮件发送接口的实现指南。
帮你在 PinMe 的 Worker(TypeScript)项目里接入平台发邮件接口(send_email),直接给出可跑的 Worker TS 代码示例和调用方式。常在需要从后端 Worker 发通知邮件、注册验证或定时批量发送时用到。特别会考虑 Worker 的运行时约定和自动注入的环境变量,减少你为环境配置和调用签名反复调试的时间。
▸ 展开 SKILL.md 英文原文
Use this skill when a PinMe project (Worker TypeScript) needs to integrate email sending (send_email). Guides AI to generate correct Worker TS code.
3.7k
Stars
272
Forks
7
仓库内 Skill
+26
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/glitternetwork/pinme/main/skills/pinme-email/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/glitternetwork/pinme/main/skills/pinme-email/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# PinMe Worker Email API Integration
Guides how to call PinMe platform's email sending API in a PinMe Worker (TypeScript).
## Environment Variables
The following environment variables are automatically injected when the Worker is created — no manual configuration needed:
```typescript
// backend/src/worker.ts
export interface Env {
DB: D1Database;
API_KEY: string; // Project API Key — used for send_email authentication
BASE_URL?: string; // Optional override for PinMe API base URL, defaults to https://pinme.cloud
}
```
> `API_KEY` is the sole credential for the Worker to call PinMe platform APIs. When `BASE_URL` is not set, it defaults to `https://pinme.cloud`.
---
## Sevia SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有