Block Disposable Email Accounts in Intercom Before They Waste Your Team's Time

Intercom sits at the intersection of support, sales, and marketing. Fake leads and throwaway-email users exploit that openness: they start conversations your bot handles for free, extract product information, or trigger automated nurture sequences that waste your marketing budget on addresses that will never convert.

Disposable email detection on contact creation stops this before it starts.

Why Disposable Emails Are a Problem in Intercom

Fake Leads Polluting Your Pipeline

When a user registers with a throwaway address, Intercom creates a lead. That lead flows into your automation: drip sequences fire, sales-assist bots engage, and qualification workflows trigger. None of it converts — the email address is dead, the user is gone, and your team has burned time on a ghost.

Bot Conversation Abuse

Intercom's bot handles unlimited conversations, but the data those conversations generate is noise. Disposable-email users skew your conversation-to-close metrics, inflate contact counts, and pollute the segments you use for targeting.

Spam Inbox Overload

For support-forward teams, throwaway addresses generate a steady stream of anonymous inquiries. Agents can't follow up (the address doesn't receive mail), can't escalate (no real identity), and can't track patterns (each burner address looks like a new user).

Webhook Setup: Intercom Developer Hub

Step 1: Create an App in the Developer Hub

Go to developers.intercom.com and create a new app (or use an existing internal integration). Under Configure → Webhooks, add a new webhook subscription.

Topic to subscribe: contact.created

Endpoint URL: your publicly accessible handler URL (e.g., https://yourserver.com/webhooks/intercom)

Intercom will POST a JSON payload to this URL every time a new contact — user or lead — is created.

Step 2: Set Up Custom Attributes

Before your webhook receiver can write data back, you need to create the custom attributes in Intercom. Go to Settings → People data → Custom data attributes and add:

| Attribute name | Type | Description | |----------------|------|-------------| | emailyze_risk_score | Number | Risk score from 0 (safe) to 100 (high risk) | | emailyze_is_disposable | Boolean | True if domain is a known disposable provider | | emailyze_provider_type | String | disposable / personal / masked / unknown |

These attributes are now available in all Intercom features: segments, automation rules, bot branching, and CSV exports.

Step 3: Deploy the Webhook Receiver

Your server handles the incoming webhook, calls Emailyze, and writes the result back to the Intercom contact using the Contacts API.

// webhook.ts — Express handler for Intercom contact.created
import express from "express";
import fetch from "node-fetch";

const app = express();
app.use(express.json());

const EMAILYZE_KEY = process.env.EMAILYZE_API_KEY!;
const INTERCOM_TOKEN = process.env.INTERCOM_ACCESS_TOKEN!;

app.post("/webhooks/intercom", async (req, res) => {
  const { type, data } = req.body as {
    type: string;
    data: { item: { id: string; email?: string } };
  };

  // Only handle contact creation events
  if (type !== "contact.created") {
    return res.sendStatus(200);
  }

  const contactId = data.item.id;
  const email = data.item.email;

  // Skip contacts without an email address
  if (!email) return res.sendStatus(200);

  // 1. Call Emailyze API
  const checkRes = await fetch(
    `https://api.emailyze.xyz/v1/check/?email=${encodeURIComponent(email)}`,
    { headers: { "X-API-Key": EMAILYZE_KEY } }
  );
  const check = (await checkRes.json()) as {
    risk_score: number;
    is_disposable: boolean;
    provider_type: string;
  };

  // 2. Write custom attributes back to the Intercom contact
  await fetch(`https://api.intercom.io/contacts/${contactId}`, {
    method: "PUT",
    headers: {
      Authorization: `Bearer ${INTERCOM_TOKEN}`,
      "Content-Type": "application/json",
      Accept: "application/json",
    },
    body: JSON.stringify({
      custom_attributes: {
        emailyze_risk_score: check.risk_score,
        emailyze_is_disposable: check.is_disposable,
        emailyze_provider_type: check.provider_type,
      },
    }),
  });

  return res.sendStatus(200);
});

app.listen(3000, () => console.log("Webhook receiver running on :3000"));

Environment variables required:

The total round-trip (Intercom webhook → your server → Emailyze → Intercom API) completes in under 500ms for the vast majority of requests.

Building Automation Rules

Once the custom attributes are populated, Intercom's Series and Automation features can act on them.

Close Disposable Conversations Automatically

Create an automation rule in Inbox → Automation → Rules:

Trigger: Conversation is created Conditions: emailyze_is_disposable is true Actions: 1. Send a bot reply: "We noticed your email address may be temporary. Please reach out with a permanent email for us to assist you." 2. Close the conversation

This closes fake conversations before any agent interaction, with zero manual effort.

Route to Spam Inbox

Trigger: Conversation is created Conditions: emailyze_risk_score is greater than 80 Actions: 1. Assign conversation to inbox: "Spam / Review" 2. Add tag: high-risk-email

Your team reviews the spam inbox on a schedule rather than having junk mixed into the live queue.

Block Bot Handoff

If you use Intercom's resolution bot or custom bots with a "Hand off to team" action, add a condition before the handoff step:

Branch condition: emailyze_is_disposable is false If true: Hand off to human agent If false: Send policy message and close

This prevents disposable-email users from ever reaching a human.

Qualify Leads by Email Quality

Use emailyze_risk_score as a lead qualification gate in your qualification bot:

Branch condition: emailyze_risk_score is less than 40 If true: Route to Sales If false: Send "please verify your email" message and end conversation

Your sales team only receives leads with real, deliverable email addresses.

Comparing to the HubSpot Integration

The Intercom and HubSpot integrations share the same underlying Emailyze API, but serve different purposes:

| | Intercom | HubSpot | |---|---|---| | Primary use | Support inbox & lead chat | CRM contact enrichment | | Trigger | contact.created webhook | contact.creation webhook | | Data written | Custom attributes on contact | Custom properties on contact | | Automation | Inbox rules, Series, bots | Workflows, lead scoring | | Setup | Node.js/Python webhook receiver | OAuth + automatic registration | | Best for | Real-time conversation routing | Campaign segmentation, scoring |

For teams using both platforms, run both integrations in parallel. Emailyze's free plan covers both.

Requirements

See Also