Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
different-ai avatar

Ben Agent Email

  • 11 installs
  • 247 repo stars
  • Updated April 3, 2026
  • different-ai/agent-bank

Manages the canonical Resend inbox for an AI email agent, verifying webhooks and routing inbound mail through the AI email pipeline.

About

Defines the inbound and outbound email flow for ben-agent@zerofinance.ai using Resend and the existing AI email pipeline, including required env vars and handlers. A developer uses it to operate the AI email agent's inbox.

  • Resend webhook posts to /api/ai-email, verified with RESEND_WEBHOOK_SECRET
  • Outbound replies sent through the resend-provider module

Ben Agent Email by the numbers

  • 11 all-time installs (skills.sh)
  • Ranked #1,469 of 2,715 Automation & Workflows skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/different-ai/agent-bank --skill ben-agent-email

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs11
repo stars247
Last updatedApril 3, 2026
Repositorydifferent-ai/agent-bank

What it does

Manages the canonical Resend inbox for an AI email agent, verifying webhooks and routing inbound mail through the AI email pipeline.

Files

SKILL.mdMarkdownGitHub ↗

Ben-Agent Email (Resend)

Canonical email inbox for 0 Finance operations.

Purpose

Manage inbound and outbound email for ben-agent@zerofinance.ai using Resend and the existing AI email pipeline.

Canonical Inbox

  • ben-agent@zerofinance.ai
  • Domain defaults to zerofinance.ai via AI_EMAIL_INBOUND_DOMAIN.

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 RESEND_WEBHOOK_SECRET. 4. AI email pipeline parses, responds, and updates session state.

Outbound Flow

  • Send via Resend with from: "Ben Agent <ben-agent@zerofinance.ai>".
  • 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 RESEND_API_KEY or RESEND_WEBHOOK_SECRET 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 ben-agent@zerofinance.ai for new invoices and summarize."
  • "Reply to the latest sender confirming we received their request."
  • "Draft a follow-up asking for missing bank details."

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.