Skip to main content
The receiving methods are on the same paubox.Client you use to send email.

Domains

List domains

Create a domain

Get a domain

Delete a domain

Mailboxes

List mailboxes

Create a mailbox

Set QuotaBytes (an *int64, for example paubox.Ptr(int64(1073741824))) on the request to apply a storage quota.

Get a mailbox

Delete a mailbox

Emails

List received emails

All ListReceivedEmailsRequest fields are optional pointers: Limit, After, Before, Search, Sort, and Ascending.

Get a received email

Download an attachment

Pass the attachment’s ID from email.Attachments. Email and attachment IDs are UUIDs.
dl.ContentType holds the response Content-Type.