Go
The Unsend Go package lets you interact with the Unsend API to send and manage emails as well as domains. This is a quick guide on using the package to send emails and retrieve email information.
This is a community-maintained package and not maintained by the Unsend.
Shout out to QGeeDev for maintaining this package.
Installation
To install the Unsend package, you can use go get:
Related Links
Github Repository: Github
Usage
Below is an example of how to use the Unsend package to send an email and retrieve email information.
Environment Variables
Initialize
Sending Emails
To send an email you will need to define the payload. After definition, you can use the .SendEmail
method to send emails with the payload as a parameter.
Retrieve Emails using the id
The email will be retrieved using the ID you get after sending the mail.
More
Checkout more examples in the Github Repository.
It handles emails
, domains
& contacts
APIs.