smithery.ai

ben-agent-email

Canonical Resend inbox for [email protected]

First seen Mar 27, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Declared

Skill metadata

Parsed from SKILL.md frontmatter.

LicenseMIT
Compatibilityopencode
Declared agents opencode
More metadata
service
resend
category
email

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,397 B
  • docs SUMMARY.md 74 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Ben-Agent Email (Resend)

Canonical email inbox for 0 Finance operations.

Purpose

Manage inbound and outbound email for [email protected] using Resend and the existing AI email pipeline.

Canonical Inbox

Inbound Flow (Required)

  1. Resend catch-all or routed domain receives inbound email.
  2. Resend webhook posts to POST /api/ai-email.
  3. Webhook signature verified with RESENDWEBHOOKSECRET.
  4. AI email pipeline parses, responds, and updates session state.

Outbound Flow

  • Send via Resend with from: "Ben Agent <[email protected]>".
  • Replies and confirmations are sent through packages/web/src/lib/email-provider/resend-provider.ts.

Environment (.env)

Create a collocated .env file at:

.opencode/skill/ben-agent-email/.env

Required values:

RESEND_API_KEY=
RESEND_WEBHOOK_SECRET=
EMAIL_PROVIDER=resend
AI_EMAIL_INBOUND_DOMAIN=zerofinance.ai

Credential Missing Behavior

  • If RESENDAPIKEY or RESENDWEBHOOKSECRET is missing, ask the user to provide them and stop.
  • Do not invent credentials or proceed without explicit access.

Entities + CRUD Coverage

  • Email sessions: create/read/update via AI email pipeline; delete not supported.
  • Messages: create (send/reply), read (session history), update (follow-up), delete not supported.
  • Attachments: create (persist), read (load), update not used, delete not supported.

Tools / Interfaces

  • packages/web/src/app/api/ai-email/route.ts - inbound webhook handler.
  • packages/web/src/lib/email-provider/resend-provider.ts - Resend send/receive.
  • packages/web/src/lib/ai-email/* - session state, prompts, attachment handling.

Completion Signals

  • complete: inbound message processed and response sent.
  • continue: awaiting user clarification or confirmation.
  • error: provider failures or invalid webhook signature.

Example Prompts

  • "Check [email protected] for new invoices and summarize."
  • "Reply to the latest sender confirming we received their request."
  • "Draft a follow-up asking for missing bank details."