Add email sending to PinMe Worker code

pinme-emailskillsetup L23,623
glitternetwork/pinme
What it does

Use this skill when a PinMe project (Worker TypeScript) needs to integrate email sending (send_email). Guides AI to generate correct Worker TS code.

Best for

Sending transactional emails from serverless Workers without API key exposure

Inputs
  • · Recipient email
  • · Subject line
  • · HTML body
Outputs
  • · Email send confirmation or error message
Requires
  • · HTTP API
  • · Cloudflare Workers
  • · D1 SQLite
  • · PinMe platform
Preconditions

Worker created with env.API_KEY and env.BASE_URL configured

Failure modes
  • · 401 - Invalid API key
  • · 400 - Invalid email format
  • · 500 - Email service error
Trust signals
  • · Error handling patterns documented
  • · Example code provided