August 27th, 2026

OpenTofu provider and Go SDK

Mailtrap now offers an official Terraform/OpenTofu provider and a Go SDK, so teams can manage Mailtrap setup as Infrastructure-as-Code and integrate in Go.

What's new:

  • Official Go SDK (mailtrap-go) – Official Go library for Email API/SMTP, Email Marketing, and Email Sandbox. Go developers get the same “official SDK” experience as other languages, not only raw SMTP/REST samples.

  • Official Terraform / OpenTofu provider – Official way to create/update/delete Mailtrap configuration resources from Terraform or OpenTofu. OpenTofu compatibility supports open-source and enterprise IaC stacks.

All in all, DevOps and platform teams can version, review, and repeat Mailtrap setup the same way they manage cloud infra.