Integrations and SDKs
Put verification where your emails come in. Pick a ready-made integration, or use a library for your language. All of them use the same API key and the same 100 free verifications a month.
WordPress and WooCommerce
PluginChecks registration, WooCommerce checkout, comments, Contact Form 7, WPForms, Gravity Forms and Elementor Pro forms, with an as-you-type hint and one-click typo fix. If MailSure cannot answer, the address is accepted.
Libraries
Node.jsPythonPHPSingle checks, parallel batches and bulk jobs, with automatic retry on rate limits and clear errors. No dependencies.
Node.js 18+
npm install https://mailsure.co/downloads/mailsure-node.tgz
import { Mailsure } from "mailsure";
const ms = new Mailsure({ apiKey: process.env.MAILSURE_API_KEY });
const r = await ms.verify("john@gmial.com");
console.log(r.status, r.suggestion); // risky john@gmail.comPython 3.8+
pip install https://mailsure.co/downloads/mailsure-python.tar.gz
from mailsure import Mailsure
ms = Mailsure(os.environ["MAILSURE_API_KEY"])
r = ms.verify("john@gmial.com")
print(r["status"], r["suggestion"])PHP 7.4+
// download https://mailsure.co/downloads/mailsure-php.zip and unzip it into your project
$ms = new \Mailsure\Client(getenv('MAILSURE_API_KEY'));
$r = $ms->verify('john@gmial.com');
echo $r['status'], ' ', $r['suggestion'];Google Sheets
BetaA small script for your spreadsheet. Select a column of addresses and choose MailSure, Verify selected cells to get status, score and reason next to each one, or use =MAILSURE(A2) for a few cells.
- In your sheet open Extensions, Apps Script, and paste in the downloaded file.
- Reload the sheet, then choose MailSure, Set API key.
Zapier
Coming soonA Verify Email action for Zapier, so you can check addresses from Mailchimp, HubSpot, Google Forms, Typeform and thousands of other apps without code. We have built it and are preparing it for the Zapier directory. In the meantime, any Zap can call the API with a Webhooks step.
MCP server for AI assistants
Let Claude, Cursor or any MCP-compatible assistant verify addresses for you. Tools: verify_email (uses your API key and one credit; unknown results are free), check_domain (free, no key) and account_balance.
claude mcp add --transport http mailsure https://mailsure.co/api/mcp --header "Authorization: Bearer ev_live_..."
For other clients, point a remote (Streamable HTTP) MCP server at https://mailsure.co/api/mcp and send the same Authorization header. Create a key on the API keys page after you sign up.
REST API
One endpoint and one bearer key. Verify single addresses, start bulk jobs and read your balance. Everything above is built on it.