mail-check.tech
Hey everyone š
Havenāt posted in a while because Iāve been working on something super exciting with my friend and today, weāre finally sharing it with the world:
Say hello to MailCheck.
šÆ TheĀ Problem
Letās be honestāāāweāve all, at some point, used disposable email services like temp-mail.org to get that extra free trial or bypass an email wall. While it may seem harmless from a user’s point of view, itās a real headache for companies.
Free trial abuse, spam sign-ups, and inflated user metricsāāāthese arenāt just minor inconveniences. For businesses, theyĀ mean:
Wasted server resources and APIĀ usageSkewed analytics and user engagement dataExtra customer supportĀ costsReduced trust in theĀ platform
We realized just how widespread this issue is when we were personally exploiting it. Thatās when the light bulb went off.
What if we could build a tool that prevents disposable emails before they even hit yourĀ backend?
š Introducing MailCheck
MailCheck is an API service that lets you verify email addresses in real timeāāāand detect whether theyāre legit, or just a disposable inbox waiting to be forgotten.
It goes way beyond basic syntax validation. We use a combination of:
Domain analysisMX recordĀ checksBehavior trackingA constantly updated list of disposable email providers
The goal? Help you catch fake or throwaway signupsāāāwithout slowing down your usersā experience.
š ļø How MailCheck Works
š BaseĀ URL
All requests are sentĀ to:
https://api.mail-check.tech
š Authentication
Every request must include your APIĀ key:
X-API-Key: your_api_key_here
ā” Verification Methods
We provide two levels of verification depending on your need for speed vs certainty.
1. S1 Verification (Standard)
Checks domain analysis, MX records, usageĀ patternsCompares against our list of known disposable email providersFast and perfect for sign-upĀ forms
Sample RequestĀ (S1)
curl -X POST https://api.mail-check.tech/api/v0/validate/email
-H “Content-Type: application/json”
-H “X-API-Key: your_api_key_here”
-d ‘{“email”: “user@example.com”}’
Sample Response
{
“is_valid”: true,
“needs_TBA”: false,
“reason”: “Domain has valid MX records and passes all verification checks”
}
2. TBA Verification (Task-Based Authentication)
Includes everything fromĀ S1Adds behavior-based analysisIdeal for higher-risk or suspicious emails
Sample RequestĀ (TBA)
curl -X POST https://api.mail-check.tech/api/v0/validate/email/tba
-H “Content-Type: application/json”
-H “X-API-Key: your_api_key_here”
-d ‘{“email”: “user@example.com”}’
Sample Response
{
“is_valid”: true,
“needs_TBA”: false,
“reason”: “Email passed Task-Based Authentication verification”
}
š§ Recommended Workflow
1. Use S1 verification for every sign-up
2. If `is_valid = true` and `needs_TBA = false`, you’re good ā
3. If `is_valid = false`, reject the email ā
4. If `needs_TBA = true`, call the TBA endpoint for deeper verification š
Note: IF needs_TBA is false you shouldn’t perform it since it’s time consuming,
and effective for cases when S1 checks return needs_TBA as true.
š§Æ ErrorĀ Handling
Hereās a sample error you might get if your API key isĀ missing:
{
“detail”: “API key missing. Please provide a valid API key in the X-API-Key header.”
}
Common HTTP errorsĀ include:
401āāāUnauthorized403āāāForbidden422āāāMalformed request429āāāRateĀ limited500āāāInternalĀ error
Thanks for reading! If you found this helpful or know someone who runs a platform dealing with fake sign-upsāāāfeel free to shareĀ š¬
and for any query related mail-check.tech contact product@mail-check.tech
How to stop temp mail Sign ups on your website was originally published in Coinmonks on Medium, where people are continuing the conversation by highlighting and responding to this story.