Transmitly documentation

Java SDK

Install the Transmitly Java SDK, send with a fluent message and use Spring Boot.

Last reviewed November 20, 2026 · OpenAPI 3.1 · API reference

The Java client targets Java 17+ and publishes to Maven Central as io.transmitly:transmitly.

Package: Maven Central·OpenAPI 3.1

Install

maven
<dependency>
  <groupId>io.transmitly</groupId>
  <artifactId>transmitly</artifactId>
  <version>1.0.0</version>
</dependency>

Send your first email

send
import io.transmitly.EmailMessage;
import io.transmitly.TransmitlyClient;

var tx = new TransmitlyClient(System.getenv("TRANSMITLY_API_KEY"));

var accepted = tx.emails.send(new EmailMessage()
    .from("Notify <[email protected]>")
    .to(List.of("[email protected]"))
    .subject("Your workspace is ready")
    .html("<p>Welcome.</p>")
    .tags(Map.of("flow", "onboarding")));

In Spring Boot, expose the client as a @Bean and inject it. Use send(message, idempotencyKey) when the key comes from your own event.

Next steps

See the API reference and the SDK overview for the Spring configuration example.

Need the full API surface? OpenAPI 3.1.