ayjnt-email

Route incoming emails to agent instances within Cloudflare workers.

3|1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/northclock/ayjnt --skill ayjnt-email
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ayjnt-email
Source: https://github.com/northclock/ayjnt/tree/main/.claude/skills/ayjnt-email
Command: npx skills add https://github.com/northclock/ayjnt --skill ayjnt-email

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires postal-mime.

What problem does it solve?

This skill solves the challenge of integrating email communication directly into agent workflows, allowing agents to act as automated support or notification handlers without manual intervention.

Core Features & Use Cases

  • Email Routing Integration: Automatically wires Cloudflare Email Routing to your agent.
  • Structured Parsing: Provides helpers to parse MIME content using postal-mime for easy access to subjects, bodies, and attachments.
  • Threaded Replies: Includes a replyToEmail helper that correctly manages email threading headers.
  • Use Case: Build a support desk agent that automatically receives customer emails, updates its internal state, and sends a professional follow-up response.

Quick Start

Add an async onEmail method to your agent class and use the replyToEmail helper to send responses.

Frequently Asked Questions about ayjnt-email

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

FAQPage Schema
How do I route incoming emails to automated agents in Cloudflare Workers?

Email routing to agents in Cloudflare Workers is handled by wiring Cloudflare Email Routing to your agent instances and implementing an async onEmail method to process incoming messages automatically.

How do I parse MIME email content and attachments within an agent workflow?

MIME email content is parsed using the postal-mime dependency, which provides structured access to subjects, bodies, and attachments for processing within your agent's onEmail method.

How do I send threaded email replies from an automated agent?

Threaded email replies are sent using the replyToEmail helper, which correctly manages the necessary email threading headers to maintain conversation continuity within the Cloudflare environment.

Can I use Cloudflare Email Routing to build an automated support desk agent?

Yes, you can build an automated support desk agent by implementing the onEmail method to receive customer emails, update internal state, and use the replyToEmail helper to send follow-up responses.

Do I need to configure anything specific to handle email routing for agents?

You need to configure Cloudflare Email Routing to direct messages to your agent, add the onEmail method to your agent class, and use the provided email SDK helpers for message resolution and delivery.

What are the limitations of processing emails with agents in Cloudflare?

Email processing with agents is limited to the Cloudflare worker environment and requires implementing the onEmail method, relying on the postal-mime dependency for structured parsing of incoming messages.