Transmitly documentation
Rust SDK
Install the Transmitly Rust crate, send a typed message and handle idempotency.
Last reviewed November 20, 2026 · OpenAPI 3.1 · API reference
The Rust client is published as the transmitly crate and uses serde_json for dynamic fields.
Package: crates.io·OpenAPI 3.1
Install
cargo
cargo add transmitly
# or add to Cargo.toml
transmitly = "1.0"
serde_json = "1"Send your first email
send
use transmitly::{Client, EmailMessage};
let tx = Client::new(std::env::var("TRANSMITLY_API_KEY")?);
let accepted = tx.send_email(
&EmailMessage::new(
"Notify <[email protected]>",
vec!["[email protected]".to_string()],
"Your workspace is ready",
)
.html("<p>Welcome.</p>"),
)?;send_email generates an idempotency key; use send_email_with_idempotency to supply one. Resource helpers cover messages, deliveries, domains, suppressions and webhooks.
Next steps
The API reference lists the corresponding endpoints, and SDKs shows the resource methods.
Need the full API surface? OpenAPI 3.1.