SDKs
TypeScript and Python SDKs for Mail are coming. Until then, call the HTTP API or connect over MCP.
guide~1 minVerified v0.216.0
Mail has no SDK yet. A TypeScript SDK and a Python SDK are planned, and this page will be replaced by theirs when they ship. Until then you have two ways to use Mail from code.
| You are | Use |
|---|---|
| Working through an agent such as Claude or Cursor | The MCP server, at mcp.superagentmail.app/mcp |
| Writing a script or a server in any language | The HTTP API, at mcp.superagentmail.app/v1 |
Every MCP tool is also an HTTP route, with the same arguments and the same answers.
The quickstart shows how a script gets a key. The API is for server side code: it does not support browser CORS.
The Super Artifacts SDKs are for Super Artifacts, not Mail, and a Super Artifacts key does not work on Mail.