Skip to content
MailerOwl
Menu

Send email from Go in minutes

A plain HTTP call is all it takes. No SDK required: send transactional email from Go with the MailerOwl API.

No SDK to install

Use the HTTP client you already have in Go. The API is a single JSON endpoint.

Test mode keys

Develop against mo_test_ keys: the full pipeline, no real email.

Events and webhooks

Track delivery, bounces and complaints from your Go app with signed webhooks.

go
body := strings.NewReader(`{"from":"Acme <hello@acme.com>","to":["jane@example.com"],"subject":"Welcome","html":"<p>Hi!</p>"}`)
req, _ := http.NewRequest("POST", "https://api.mailerowl.com/v1/emails", body)
req.Header.Set("Authorization", "Bearer "+os.Getenv("MAILEROWL_KEY"))
req.Header.Set("Content-Type", "application/json")
resp, err := http.DefaultClient.Do(req)

Questions

Is there an official Go SDK?

Not yet. The API is intentionally simple: one POST with a JSON body.

Can I use SMTP from Go instead?

Yes. Use smtp.mailerowl.com on port 587 with your API key as the password.