TypeScript
Other languages
Python, Ruby, PHP, Go, Java and C# have packages of their own. Everything else generates from the spec.
Generate one from OpenAPI
Not shipped yetPython, Ruby, PHP, Go, Java and C# have official packages, listed below. Other languages arrive in the order people ask for them. Until then the OpenAPI document generates a usable client in most of them, and because the request schemas are derived from the same zod that validates them, it cannot describe a field the server would reject.
curl -s https://api.nextmail.sh/openapi.json -o openapi.jsonopenapi-generator generate -i openapi.json -g rust -o ./clientOfficial packages
Python`pip install nextmail`, with a sync and an async client for Python 3.10 and up.Ruby`gem install nextmail`, with keyword arguments, for Ruby 3.2 and up.PHP`composer require nextmail/sdk`, with named arguments, for PHP 8.2 and up.Go`go get github.com/bfzli/nextmail-go`, for Go 1.24 and up.Java`sh.nextmail:nextmail` on Maven Central, for Java 17 and up.C#`dotnet add package Nextmail`, for .NET 8 and up.
Google Workspace