
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@multimail/ai-sdk
Advanced tools
MultiMail tools for Vercel AI SDK — give any AI agent email capabilities
MultiMail tools for the Vercel AI SDK. Give any AI agent the ability to send and read email through MultiMail.
npm install @multimail/ai-sdk ai zod
import { generateText } from 'ai';
import { openai } from '@ai-sdk/openai';
import { createMultiMailTools } from '@multimail/ai-sdk';
const tools = createMultiMailTools(process.env.MULTIMAIL_API_KEY!);
const { text } = await generateText({
model: openai('gpt-4o'),
tools,
maxSteps: 5,
prompt: 'Check my inbox for unread emails and summarize them.',
});
import { streamText } from 'ai';
import { anthropic } from '@ai-sdk/anthropic';
import { createMultiMailTools } from '@multimail/ai-sdk';
const tools = createMultiMailTools(process.env.MULTIMAIL_API_KEY!);
const result = streamText({
model: anthropic('claude-sonnet-4-20250514'),
tools,
maxSteps: 5,
prompt: 'Reply to the latest email from alice@example.com saying thanks.',
});
for await (const chunk of result.textStream) {
process.stdout.write(chunk);
}
| Tool | Description |
|---|---|
listMailboxes | List all mailboxes on the account |
checkInbox | List emails with filtering (status, sender, subject, direction, dates) |
readEmail | Read full email content (markdown body, attachments, tags) |
sendEmail | Send a new email with markdown body |
replyEmail | Reply to an existing email (auto-threads) |
searchContacts | Search contacts by name or email |
listPending | List emails awaiting human approval |
decideEmail | Approve or reject a pending email |
getThread | Get all emails in a conversation thread |
tagEmail | Add key-value tags to an email |
const tools = createMultiMailTools('mm_live_...', {
baseUrl: 'https://api-staging.multimail.dev', // optional: override API URL
});
MultiMail enforces graduated trust through oversight modes. Depending on the mailbox configuration, outbound emails may require human approval before delivery. The listPending and decideEmail tools let agents participate in the approval workflow.
Learn more at multimail.dev/docs.
MIT
FAQs
MultiMail tools for Vercel AI SDK — give any AI agent email capabilities
The npm package @multimail/ai-sdk receives a total of 1 weekly downloads. As such, @multimail/ai-sdk popularity was classified as not popular.
We found that @multimail/ai-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.