@tpmjs/tools-resend
Send a batch of emails in a single API call via Resend.
Validation error: Your batch request should contain at least 1 message.
Last checked: 2/27/2026, 4:19:35 AM
Test @tpmjs/tools-resend (sendBatchEmails) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-resendpnpm add @tpmjs/tools-resendyarn add @tpmjs/tools-resendbun add @tpmjs/tools-resenddeno add npm:@tpmjs/tools-resendimport { sendBatchEmails } from '@tpmjs/tools-resend';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { sendBatchEmails } from '@tpmjs/tools-resend';
const result = await generateText({
model: openai('gpt-4o'),
tools: { sendBatchEmails },
prompt: 'Your prompt here...',
});
console.log(result.text);(emails: { to: { }; from: string; html: string; text: string; subject: string }[]) => Promise<unknown>Available configuration options
emailsarrayArray of email objects to send.
Schema extracted: 2/27/2026, 4:19:35 AM
ERROR: No README data found!
Downloads/month
110
GitHub Stars
0
Quality Score