npm
agentmail
#130 of 964 in the AI Agent Index
29 Score
Real usage 64
Momentum —
Attention —
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…
Across sources
72.7k Downloads / week
- Downloads / week 72.7k