Public repository for Agent Skills
pinme-email
Agent skill fromglitternetwork/pinme
Use this skill when a PinMe project (Worker TypeScript) needs to integrate email sending (send_email). Guides AI to generate correct Worker TS code.
How to install pinme-email
npx skills add glitternetwork/pinme# or add only this skill to Claude Code: copy the folder
skills/pinme-email/
# into
~/.claude/skills/pinme-email/ (all projects)
.claude/skills/pinme-email/ (one project)
1# PinMe Worker Email API Integration23Guides how to call PinMe platform's email sending API in a PinMe Worker (TypeScript).45## Environment Variables67The following environment variables are automatically injected when the Worker is created — no manual configuration needed:89```typescript10// backend/src/worker.ts11export interface Env {12 DB: D1Database;13 API_KEY: string; // Project API Key — used for send_email authentication14 BASE_URL?: string; // Optional override for PinMe API base URL, defaults to https://pinme.cloud15}16```1718> `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`.1920---2122## Send Email API2324**Endpoint:** `POST {BASE_URL}/api/v4/send_email`25**Authentication:** `X-API-Key` header (using `env.API_KEY`)26**Sender:** Automatically set to `{project_name}@pinme.cloud`2728### Request Format2930```json31{32 "to": "user@example.com",33 "subject": "Your verification code",34 "html": "<p>Your code is <strong>123456</strong></p>"35}36```3738| Field | Type | Required | Description |39|-------|------|----------|-------------|40| `to` | string | Yes | Recipient email address |41| `subject` | string | Yes | Email subject |42| `html` | string | Yes | HTML body |4344### Response Format4546**Success (200):**47```json48{ "code": 200, "msg": "ok", "data": { "ok": true } }49```5051**Errors:**5253| HTTP Status | Meaning | data.error Example |54|-------------|---------|-------------------|55…
Excerpt shown under the repository's MIT license.
More skills in pinme
Similar skill repositories
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
The open-source app everyone uses to manage agents at work
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows
OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.
