@tpmjs/tools-postmark
Send a batch of up to 500 emails in a single API call.
Test @tpmjs/tools-postmark (sendBatchEmails) with AI-powered execution
0/2000 characters
Install this tool and use it with the AI SDK
npm install @tpmjs/tools-postmarkpnpm add @tpmjs/tools-postmarkyarn add @tpmjs/tools-postmarkbun add @tpmjs/tools-postmarkdeno add npm:@tpmjs/tools-postmarkimport { sendBatchEmails } from '@tpmjs/tools-postmark';import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { sendBatchEmails } from '@tpmjs/tools-postmark';
const result = await generateText({
model: openai('gpt-4o'),
tools: { sendBatchEmails },
prompt: 'Your prompt here...',
});
console.log(result.text);(Messages: { Cc: string; To: string; Bcc: string; Tag: string; From: string }[]) => Promise<unknown>Available configuration options
MessagesarrayArray of email messages (max 500).
Schema extracted: 3/1/2026, 4:26:28 AM
ERROR: No README data found!
Downloads/month
178
GitHub Stars
14
Quality Score