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

Chat SDK

Send transactional email from Chat SDK handlers while keeping identity, authorization, and delivery policy in application code.

Chat SDK gives one event-driven API for Slack, Teams, Discord, Google Chat, and other chat platforms. Email SDK fits inside those handlers when a chat workflow needs to send a receipt, invite, report, or other transactional message.

Install

Configure Email SDK once in a server-only module. The Chat SDK handler should receive an already configured client rather than provider credentials.

Send from a handler

Keep the authorization check, recipient lookup, sender, template, and idempotency key in application code. Do not let arbitrary chat text select recipients, adapters, fallback routes, headers, or attachments.

Add an AI agent

Chat SDK and AI SDK can be used together. Chat SDK owns the conversation and platform adapters; AI SDK owns model execution and the approval-gated sendEmail tool.

AI SDK

Add a narrow email tool with explicit user approval.

On this page