aiagent.club
中文
npm package

agentmail

Updated 2026-09-12 View source ↗

#40 of 203 by Downloads / week among npm packages

146.2k Downloads / week

The email inbox API for AI agents. Send, receive, reply, and manage threaded email conversations programmatically.

About

The Agentmail TypeScript library provides convenient access to the Agentmail APIs from TypeScript.

A full reference for this library is available here.

Instantiate and use the client with the following:

This SDK allows you to configure different environments for API requests.

The SDK exports all request and response types as TypeScript interfaces. Simply import them with the following namespace:

When the API returns a non-success status code (4xx or 5xx response), a subclass of the following error will be thrown.

You can consume binary data from endpoints using the BinaryResponse type which lets you choose how to consume the data:

This SDK supports direct imports of subpackage…

Excerpted from www.npmjs.com/package/agentmail

Latest metrics

Downloads / week 146.2k 2026-09-12