I just launched gradients.sh. Come check it out →
Email SDK
Get started

AI agent skill

Install dynamic Email SDK guidance for AI agents that integrate, review, or document the package.

The repository ships two dynamic skills for Claude Code and other skill-compatible AI agents:

  • email-sdk for new integrations, reviews, and adapter work.
  • email-sdk-migrate for source-grounded application upgrades.

You can also copy skills/email-sdk/ into your repository's agent skill directory.

Dynamic documentation

The skill discovers the current documentation from /docs/llms.txt, then fetches exact pages through the raw Markdown route at /docs/<path>.md. It does not rely on a frozen list of adapters, concepts, or UI templates.

For email UI work it starts at /docs/ui.md, follows the current category links, and reads the selected template page before using its registry command or Manual source.

What the skill requires

  • Refresh the installed package README, exports, declarations, and relevant adapter source before editing.
  • Import every adapter from its own subpath.
  • Keep credentials in server environment variables.
  • Check field and capability compatibility before adding fallback routes.
  • Use idempotency for externally visible sends that may retry.
  • Use doctor and send --dry-run before an approved live provider check.
  • Keep bodies, recipients, credentials, and provider payloads out of logs.
  • Run the narrowest typecheck or test that covers the send path.

Prompt example

Migration prompt

The migration skill includes a deterministic scanner for common v0 spellings, but requires the agent to inspect each finding before changing generic application vocabulary.

The skill guides code changes; it is not a runtime email tool. Use the AI SDK integration for runtime agent calls.

Machine-readable docs

Give agents raw Markdown and complete documentation indexes.

On this page