Sending email campaigns to disposable addresses wastes budget, inflates bounce rates, and damages sender reputation. Disposable emails—from services like TempMail, Guerrilla Mail, or 10-minute mail—are designed for one-time use. Recipients rarely read marketing messages sent to these addresses, and many providers flag high bounce rates from disposable domains as a sign of poor list hygiene. Verifying your list before a campaign ensures you reach real inboxes, improve deliverability, and protect your domain reputation. This guide walks you through verifying email lists via CSV or the batch API, whether you have hundreds or hundreds of thousands of addresses.
Before you begin, you need two things: an Emailyze API key and your list in CSV format (or any format you can parse into an array of email addresses). Sign up at Emailyze to create an account, verify your email, and generate an API key from the dashboard. The API key authenticates your requests to the batch endpoint. Your list should have at least one column containing email addresses. Common exports from CRM, ESP, or signup forms include columns like email, Email, email_address, or user_email. Identify which column holds the addresses and ensure the file is saved as CSV (comma-separated) or a format you can easily parse.
A typical bulk verification workflow follows six steps:
1. Export your list to CSV — Export from your email platform, CRM, or database. Ensure the file includes the email column and any metadata you want to preserve (e.g., signup date, source).
2. Extract the email column — Parse the CSV and extract the column containing email addresses. Remove headers and any empty rows. Normalize if needed (trim whitespace, lowercase).
3. Chunk into batches of 1,000 — The batch API accepts up to 1,000 emails per request. Split your list into chunks of 1,000 (or fewer). For example, a list of 15,000 emails becomes 15 batches.
4. Call the batch API — For each chunk, send a POST request to POST /v1/check/batch/ with a JSON body: {"emails": ["[email protected]", "[email protected]", ...]}. Authenticate using the X-API-Key header or the key query parameter.
5. Merge results — Combine the results arrays from each batch response. The API returns results in the same order as the input. Each result includes is_disposable, risk_score, provider_type, and other fields.
6. Filter disposables and export — Filter out addresses where is_disposable is true (or where risk_score exceeds your threshold). Export the clean list back to CSV for import into your ESP or CRM.
The batch endpoint is the core of this workflow. Send a POST request to https://api.emailyze.xyz/v1/check/batch/ (or your self-hosted base URL) with a JSON body containing an emails array. Each element can be a full email address (e.g., [email protected]) or a domain (e.g., tempmail.com). The API accepts up to 1,000 emails per request. Larger lists must be split into multiple requests.
Authentication is required. Include your API key either in the X-API-Key header or as a query parameter: ?key=YOUR_API_KEY. The response is a JSON object with a results array (one object per input email), processed (number of unique emails processed), and processing_time_ms (total processing time in milliseconds).
Each result object includes is_disposable (boolean), risk_score (0–100), and provider_type (e.g., disposable, personal, freemail, masked, unknown). Use these fields to segment or filter your list. Invalid or malformed emails return a result with error: "Invalid format" and is_disposable: false, risk_score: 0.
The following Python script reads a CSV file, chunks the emails into batches of 1,000, calls the batch API, and writes a clean CSV with only non-disposable addresses.
import csv
import requests
import sys
API_KEY = "YOUR_API_KEY"
BATCH_URL = "https://api.emailyze.xyz/v1/check/batch/"
BATCH_SIZE = 1000
def main():
input_path = sys.argv[1] if len(sys.argv) > 1 else "emails.csv"
output_path = sys.argv[2] if len(sys.argv) > 2 else "emails_clean.csv"
email_col = sys.argv[3] if len(sys.argv) > 3 else "email"
with open(input_path, "r", encoding="utf-8") as f:
reader = csv.DictReader(f)
headers = reader.fieldnames
emails = [row[email_col].strip().lower() for row in reader if row.get(email_col)]
all_results = []
for i in range(0, len(emails), BATCH_SIZE):
chunk = emails[i : i + BATCH_SIZE]
resp = requests.post(
BATCH_URL,
headers={"X-API-Key": API_KEY, "Content-Type": "application/json"},
json={"emails": chunk},
)
resp.raise_for_status()
data = resp.json()
all_results.extend(data["results"])
clean = [r for r in all_results if not r.get("is_disposable") and not r.get("error")]
with open(output_path, "w", encoding="utf-8", newline="") as f:
writer = csv.writer(f)
writer.writerow(["email", "risk_score", "provider_type"])
for r in clean:
writer.writerow([r["email"], r.get("risk_score", 0), r.get("provider_type", "")])
print(f"Processed {len(all_results)}, kept {len(clean)} non-disposable")
if __name__ == "__main__":
main()
Run with: python verify_list.py input.csv output.csv email (adjust column name if needed).
Here is an equivalent Node.js script using fetch and the csv-parse package (install with npm install csv-parse):
const fs = require("fs");
const { parse } = require("csv-parse/sync");
const API_KEY = process.env.EMAILYZE_API_KEY || "YOUR_API_KEY";
const BATCH_URL = "https://api.emailyze.xyz/v1/check/batch/";
const BATCH_SIZE = 1000;
async function verifyList(inputPath = "emails.csv", outputPath = "emails_clean.csv", emailCol = "email") {
const csvContent = fs.readFileSync(inputPath, "utf-8");
const rows = parse(csvContent, { columns: true });
const emails = rows.map((r) => (r[emailCol] || "").trim().toLowerCase()).filter(Boolean);
const allResults = [];
for (let i = 0; i < emails.length; i += BATCH_SIZE) {
const chunk = emails.slice(i, i + BATCH_SIZE);
const resp = await fetch(BATCH_URL, {
method: "POST",
headers: { "X-API-Key": API_KEY, "Content-Type": "application/json" },
body: JSON.stringify({ emails: chunk }),
});
if (!resp.ok) throw new Error(`API error: ${resp.status}`);
const data = await resp.json();
allResults.push(...data.results);
}
const clean = allResults.filter((r) => !r.is_disposable && !r.error);
const csvOut = ["email,risk_score,provider_type", ...clean.map((r) => `${r.email},${r.risk_score || 0},${r.provider_type || ""}`)].join("\n");
fs.writeFileSync(outputPath, csvOut);
console.log(`Processed ${allResults.length}, kept ${clean.length} non-disposable`);
}
verifyList(process.argv[2], process.argv[3], process.argv[4]).catch(console.error);
Run with: node verify_list.js input.csv output.csv email.
true means the address is from a disposable provider. Filter these out for marketing campaigns.disposable (temp providers), personal (corporate/personal domains), freemail (Gmail, Outlook, etc.), masked (e.g., Apple Hide My Email), unknown. Some teams exclude disposables but allow masked addresses.Invalid emails have error: "Invalid format". Remove or correct these before re-verifying.