ben-agent-email

Manage inbound and outbound email for a Resend inbox via an AI pipeline.

249|47|Updated Nov 5, 2024
One-click install
npx skills add https://github.com/different-ai/agent-bank --skill ben-agent-email
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ben-agent-email
Source: https://github.com/different-ai/agent-bank/tree/main/.opencode/skill/ben-agent-email
Command: npx skills add https://github.com/different-ai/agent-bank --skill ben-agent-email

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Canonical email inbox management for the [email protected] within the 0 Finance AI agent ecosystem, enabling inbound/outbound email handling via Resend and the existing AI email pipeline.

Core Features & Use Cases

  • Inbound processing: Receive inbound mail via Resend and route to the AI email pipeline.
  • Outbound sending: Send replies and confirmations with proper from-address and workflow integration.
  • Session and attachment management: Handle email sessions, messages, and attachments within the AI agent’s context.

Quick Start

Configure a collocated .env file at .opencode/skill/ben-agent-email/.env with RESEND_API_KEY, RESEND_WEBHOOK_SECRET, and EMAIL_PROVIDER=resend, then send a test email to [email protected] to verify inbound processing and outbound responses through the AI email pipeline.

Frequently Asked Questions about ben-agent-email

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate inbound email handling for an AI agent using Resend?

Automate inbound email handling by routing messages received via Resend directly into an AI email pipeline for processing and session-state management. This workflow receives inbound mail, verifies webhooks, and passes attachments to the agent.

How do I send outbound email replies from an AI agent through Resend?

Send outbound email replies through Resend by integrating the provider within AI agent workflows. The system manages outbound responses and confirmations using a proper from-address, maintaining session context throughout the email pipeline.

What environment variables do I need to configure for AI email processing with Resend?

Configure AI email processing by setting RESEND_API_KEY, RESEND_WEBHOOK_SECRET, and EMAIL_PROVIDER in a collocated .env file. These credentials enable webhook verification and API access for the inbound and outbound email pipeline.

Can AI email workflows process attachments received via Resend webhooks?

AI email workflows can process attachments received via Resend webhooks. The pipeline handles attachment processing alongside session and message management within the AI agent's context, ensuring files are available for downstream tasks.

What is the best way to manage email session state for an AI agent?

Manage email session state for an AI agent by using a canonical inbox integrated with an AI email pipeline. This approach handles session-state, inbound routing, and outbound responses within a unified ecosystem context.

Does this email automation workflow verify Resend webhooks?

The email automation workflow verifies Resend webhooks using a configured webhook secret. This validation secures inbound email processing by confirming authentic Resend events before routing messages to the AI pipeline.