OpenTofu support and Go SDK
Having an official Terraform/OpenTofu provider for Mailtrap to manage resources in a consistent, repeatable way using IaC.
Given OpenTofu’s role as the open-source alternative to Terraform, compatibility with it would be important for long-term adoption.
An official Go SDK covering the Email API, SMTP, and Sandbox would not only improve the developer experience for Go users but would also serve as a strong foundation for building and maintaining an IaC provider.

Log in to comment and vote
Comments2
Mailtrap Team
Aug 12
Official Go SDK with OpenTofu/Terraform Provider is now implemented and available via:
https://github.com/mailtrap/mailtrap-go
and
https://github.com/mailtrap/terraform-provider-mailtrap
Marta from Support Team
Jan 16
Hi @Ilyes512, thanks a lot for jumping into 2 feature discussions and sharing your thoughts.
We have created a new entry to record your request and to ensure we get the needed information from you in order to take a look at this.
You mentioned interest in OpenTofu compatibility for a future Terraform provider, and also pointed out how an official Go SDK could help enable a provider implementation. We would really value your perspective here.
If you have a moment, could you share a bit more detail on:
How would you expect OpenTofu support to work in practice for Mailtrap?
Which resources or workflows would be most important for an IaC provider?
What would you consider essential coverage in a Go SDK to support this use case?
Your feedback would be very helpful as we shape our plans and features.
We look forward to hearing from you. Thanks again for contributing to the discussion.