Parcel Wing Go SDK logo

Send email with Go.

Use the official Parcel Wing SDK to send product and campaign email from Go with a small, standard-library-friendly client.

Start with one send, then grow into verified domains, deliverability tooling, and inbox visibility on the same platform.

Featured snippetGo

Start with one send.

Install the module, create a client, and send your first email with typed request structs and standard `context` support.

Package

github.com/parcelwing/parcelwing-go

Install

go get github.com/parcelwing/parcelwing-go

Go
1package main
2 
3import (
4 "context"
5 "fmt"
6 "log"
7 
8 parcelwing "github.com/parcelwing/parcelwing-go"
9)
10 
11func main() {
12 client, err := parcelwing.New("pw_xxxxxxxxx")
13 if err != nil {
14 log.Fatal(err)
15 }
16 
17 emails, err := client.Emails.Send(context.Background(), parcelwing.EmailSendRequest{
18 From: "Parcel Wing <[email protected]>",
20 Subject: "Hello World",
21 HTML: "<strong>It works!</strong>",
22 })
23 if err != nil {
24 log.Fatal(err)
25 }
26 
27 fmt.Println(emails[0].ID)
28}

Why this SDK

A Go SDK built for small dependencies and real app traffic.

Simple first send

Get from install to live email quickly without building around a throwaway demo integration.

Typed requests, familiar transport

Keep request payloads explicit with Go structs while staying close to the standard `net/http` model your services already use.

Production-friendly path

Use the same platform for password resets, invites, receipts, alerts, and lifecycle messaging.

Deliverability built in

Layer in domains, routing, and deeper delivery visibility when the stakes rise.

Workflow

Move from install to live sends fast.

Step 1

Install the module

Add `github.com/parcelwing/parcelwing-go`, initialize a client, and keep configuration close to the rest of your service setup.

Step 2

Send your first email

Ship one useful message with a typed request struct, then use the queued email response in logs, handlers, or jobs.

Step 3

Scale on the same integration

Add domain setup, routing, and deliverability tooling later without replacing your send flow or transport assumptions.

Ship with Go
Parcel Wing logo

Start sending this today.

Send product email with a Go SDK that stays simple on day one and keeps up when volume, reputation, and inbox visibility start to matter.

Start sending with Parcel Wing
No credit card required