A small Flask application to check the email provided, return score and determine if it's valid or not.
This app can detect:
- common pattern typos and make domain suggestions (eg.
gemail.com) - some Disposable Email Addresses (DEA) - aka temporal emails
- domains used on public email services
- domains that do not exist (checks DNS records) or cannot receive emails
Call endpoint GET /[email protected] or POST /check with JSON {"email": "[email protected]"}.
Alternatively, execute app.py [email protected] to check one single address.
curl -H "Content-Type: application/json" localhost:5000/check --data '{"email": "[email protected]"}'{
"disposable": true,
"email": "[email protected]",
"reasons": [
"Suspicious Tempmail"
],
"score": 0,
"valid": false
}