real_time_email_verification
Verify email addresses instantly to ensure deliverability and reduce bounce rates for marketing campaigns.
Instructions
Verifies a single email address using the Revenuebase API.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes |
Implementation Reference
- server.py:71-87 (handler)The handler function for real_time_email_verification, decorated with @mcp.tool(). It verifies a single email by posting to the Revenuebase API endpoint and returns the JSON response.@mcp.tool() def real_time_email_verification(email: str) -> dict: """ Verifies a single email address using the Revenuebase API. """ if not api_key: raise RuntimeError("Environment variable REVENUEBASE_API_KEY is not set") url = "https://api.revenuebase.ai/v1/process-email" headers = { "x-key": api_key, "Content-Type": "application/json", "Accept": "application/json", } payload = {"email": email} resp = requests.post(url, json=payload, headers=headers, verify=False) resp.raise_for_status() return resp.json()