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
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
ListReceivedEmailsRequest fields are optional pointers: Limit, After, Before, Search, Sort, and Ascending.
Get a received email
Download an attachment
Pass the attachment’sID from email.Attachments. Email and attachment IDs are UUIDs.
dl.ContentType holds the response Content-Type.