@openagentry/adapter-email-resend
v0.1.0-alpha.0
Published
OpenAgentry EmailAdapter implementation for Resend
Readme
@openagentry/adapter-email-resend
EmailAdapter for OpenAgentry, backed by Resend.
Install
pnpm add @openagentry/adapter-email-resend @openagentry/coreUsage
import email from '@openagentry/adapter-email-resend';
await email.send({
to: '[email protected]',
from: '[email protected]',
subject: 'Hello',
text: 'plain-text body',
});Reads OA_RESEND_API_KEY from the environment. Get a key at https://resend.com/api-keys.
For programmatic configuration, use the factory:
import { createResendEmailAdapter } from '@openagentry/adapter-email-resend';
const email = createResendEmailAdapter({ apiKey: process.env.MY_RESEND_KEY });Documentation
See LLM.md for the full operator reference, field mapping, error codes, and limitations.
License
Apache-2.0.
