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-go
send_email.go
package 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.

ContextGoroutinesMicroservices

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

1

Install

Run go get github.com/reloop/reloop-go in your project.

2

Authenticate

Add your Reloop API key from the dashboard and verify a sending domain.

3

Send

Copy the sample above or follow the full Go guide.

Start sending with Go

Get your API key and explore framework-specific tutorials in our documentation.

← All languages