Send Email with
Go
Use the Go SDK for high-throughput services with context-aware requests and minimal dependencies.
Send your first email
Install the SDK, set your API key, and call emails.send.
go get github.com/reloop/reloop-gopackage main
import (
"context"
"fmt"
"os"
"github.com/reloop/reloop-go"
)
func main() {
client := reloop.NewClient(os.Getenv("RELOOP_API_KEY"))
email, err := client.Emails.Send(context.Background(), &reloop.SendEmailParams{
From: "Acme <onboarding@yourdomain.com>",
To: []string{"delivered@yourdomain.com"},
Subject: "Hello from Go",
Html: "<strong>It works!</strong>",
})
if err != nil {
panic(err)
}
fmt.Println("Email sent:", email.ID)
}Built for Go developers
Idiomatic Go client
Follows conventions your team already uses—clear types, predictable errors, and examples that match the official quickstart.
Fast delivery
Messages route through Reloop's edge network for sub-second handoffs and high inbox placement.
Events & webhooks
Track delivered, bounced, and opened events from your Go app with signed webhook payloads.
Production ready
API keys, domain verification, rate limits, and observability—everything you need before going live.
Three steps with Go
Install
Run go get github.com/reloop/reloop-go in your project.
Authenticate
Add your Reloop API key from the dashboard and verify a sending domain.
Start sending with Go
Get your API key and explore framework-specific tutorials in our documentation.