Open Source Go Library to Verify Email Messages

A Fast and Free Email Verification API written in Go.

Trumail is open-source email verification & validation system. Trumail is a fast email address verification API written purely in Go. The aim of building API was to provide developers a simple solutions to manage bounced emails. Using the API you can prevent bounced emails and low-quality users. If you are a devloper writing a new applicaiton to make sure that on valid user can subscribe to your application, trumail can help you verfiy it.

Using the API is pretty simple. The API provides and email verification endpoint. In order to verfiy the email address, you need to send and GET request to the main lookup endpoint. By using the API open-source code, you can host it in your own environment and use it as per you needs.

Previous Next

Getting Started with Trumail

The recommended way to trumail into your project is by using GitHub. Please use the following command for a smooth installation.

Install Go-Email via GitHub

go get -d github.com/sdwolfe32/trumail/...
go install github.com/sdwolfe32/trumail
trumail

Validate & Verify Email Address via Free Go API

Verifying email address with the Trumail API is pretty string forward. In order to verfiy the email adress you need to send and HTTP GET request to the following URL

https://api.trumail.io/v2/lookups/{{format}}?email={{email}}

The email verification is not a very complicated process. Firstly and TCP conneciton is formed with the server on port 25 then identify the server name and set and reply-to email. Lastly, by using RCPT command the email address is vefified.