Pinme Email
Sends transactional email from PinMe Workers via the send_email API with error handling guidance.
- CCM score
- 67 of 100
- skills.sh installs
- 521
- GitHub stars
- 3.8K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the
POST /api/v4/send_emailendpoint, authenticated with the project's injectedAPI_KEYthrough theX-API-Keyheader - Documents the request fields
to,subject, andhtml, the 200 success shape, and 400, 401, and 500 error cases - Includes a
sendEmailhelper and a unifiedcallPinmeAPIerror handler for Worker TypeScript routes - Designed for PinMe projects that need verification codes or notification emails without configuring credentials manually
Install
$ npx -y skills add glitternetwork/pinme --skill pinme-email -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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:
// 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_KEYis the sole credential for the Worker to call PinMe platform APIs. WhenBASE_URLis not set, it defaults tohttps://pinme.cloud.
Send Email API
Endpoint: POST {BASE_URL}/api/v4/send_email
Authentication: X-API-Key header (using env.API_KEY)
Sender: Automatically set to {project_name}@pinme.cloud
Request Format
{
"to": "user@example.com",
"subject": "Your verification code",
"html": "<p>Your code is <strong>123456</strong></p>"
}
Details
- Repository
- github.com/glitternetwork/pinme
- Categories
- Email & Messaging, Backend & APIs
- License
- MIT
- First seen
- Jun 3, 2026
Questions
What does the pinme-email skill do?
The pinme-email skill guides an AI agent to add email sending to a PinMe Worker written in TypeScript, using the send_email API. It helps the agent generate correct Worker code that calls the endpoint with a recipient, subject and HTML body.
How do I install the pinme-email skill?
Run npx -y skills add glitternetwork/pinme --skill pinme-email -y in your project. After that, the pinme-email skill lets the agent write Worker code that sends email through the PinMe platform.
Does pinme-email need an API key or extra setup?
The pinme-email skill relies on the API_KEY environment variable, which PinMe injects automatically when the Worker is created, so no manual configuration is needed. The optional BASE_URL variable overrides the default PinMe API base address.
Which emails can pinme-email send, and who is the sender?
The pinme-email skill sends an email with a recipient address, a subject and an HTML body, such as a verification code. The sender is set automatically to the project name at pinme.cloud, so the agent does not choose it.
Where does pinme-email stand in its category?
The pinme-email skill sits in the Email & Messaging category. Its sibling skills there include to-questionnaire, lark-im, lark-mail, lark-event and lark-contact, and pinme-email covers sending through the PinMe Worker email API.
More from glitternetwork/pinme
All 5Similar to Pinme Email
More Email & Messagingresendresend/resend-skills25.4K installsComprehensive Resend API skill covering sending, receiving, templates, webhooks, domains, contacts, and automations.
pinme-authglitternetwork/pinme528 installsServer-side wrapper for PinMe Identity Platform auth proxy APIs in Worker TypeScript projects.
cloudflare-email-servicecloudflare/skills133K installsCloudflare-hosted skill for sending and receiving email via Email Sending and Email Routing, with retrieval-first guidance.
recoup-platform-email-helperrecoupable/skills5.6K installsReliable Node helper that sends Recoup emails with validated bodies and refuses empty sends.