This email verifier tool will check MX (Mail Exchange) and security checks such as SPF (Sender Policy Framework) and DMARC (Domain-based Message Authentiation, Reporting and Conformance) while verifying the given mail server.
go get github.com/peterhyperaung/emailverifier
import "github.com/peterhyperaung/emailverifier"
// CheckEmail(email string) bool
emailverifier.CheckEmail("[email protected]")
// ValidateEmailFormat(email string) bool
emailverifier.ValidateEmailFormat("[email protected]")