xmail is a Go tool that uses haccer/available to detect which email addresses have domains which are able to be registered.
go install github.com/haccer/xmail@latest
or
git clone https://github.com/haccer/xmail
cd xmail
go install
cat emails.txt | xmail
or
xmail -w emails.txt
With JSON:
% cat emails.txt| xmail --json
[
{
"domain": "doalkdjfaklsjdfk.com"
},
{
"domain": "doesntexisthahshhsh.com"
}
]