SkillAgentSearch skills...

Mailcheck

Golang library to verify email and categorize them as disposable, free & role-based.

Install / Use

/learn @deepakputhraya/Mailcheck
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Mailcheck

Go library to verify, detect invalid, spam and junk email id.

Features:

  • Identify disposable and free email providers
  • The API also automatically checks for role-based emails (such as sales@domain.com or team@domain.com)

Usage

go get github.com/deepakputhraya/mailcheck

Example

package main

import (
	"fmt"
	"github.com/deepakputhraya/mailcheck"
)

var emails = []string{"elon@tesla.com", "elon@gmail.com", "hello@mailinator.com"}

func main() {
	for _, email := range emails {
		// Skipped error handling
		details, _ := mailcheck.GetEmailDetails(email)
		fmt.Println(email)
		fmt.Printf("Valid : %v; Disposable : %v; Free : %v; Role Based : %v\n",
			details.IsValid,
			details.IsDisposable,
			details.IsFree,
			details.IsRoleBased)
		fmt.Println("-----")
	}
}

API

The library can also be accessed through an API.

https://mailcheck-go.herokuapp.com/validate?email=elon@tesla.com
View on GitHub
GitHub Stars5
CategoryDevelopment
Updated7mo ago
Forks0

Languages

Go

Security Score

82/100

Audited on Aug 27, 2025

No findings