Skip to the documentation
Go

Changelog

Every release of the package, newest first.

0.0.1

The first release. It has a Go twin for every method of the TypeScript SDK, in the same namespaces, and needs Go 1.24 or later and nothing outside the standard library.

  • openemail.New() reads OPENEMAIL_API_KEY, OPENEMAIL_ACCESS_TOKEN and OPENEMAIL_BASE_URL, and takes options such as WithAPIKey, WithBaseURL, WithHTTPClient, WithTimeout and WithMaxRetries.
  • Every failure is an *openemail.Error, matched with errors.Is against sentinels such as ErrNotFound, ErrValidation and ErrRateLimited.
  • openemail.VerifyWebhookSignature() checks a delivery, and openemail.NewTempMail() builds a client for disposable inboxes.
  • A sign-up form field can fill more of the contact: mapsTo also takes phone, company, jobTitle, website and birthday, saved on the contact card when the sign-up is accepted and only where the card has nothing yet. A single contact now comes with signUps, its last 20 sign-ups with their answers, for a caller that holds forms:read.