Sales & CRM

Emelia MCP

Manage Emelia cold-email and LinkedIn campaigns, contacts and lists, enrichment, LinkedIn scrapers, mailboxes, warmup, webhooks and blacklists through Emelia's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Delete account webhook

    Removes a URL from the webhooks of the account (exact match): it stops receiving the events of the account. Removing a URL that is not registered is not an error.

  • Delete campaign

    Deletes the campaign. A running campaign must be paused first (pause_campaign). Its lists and contacts are kept. This cannot be undone — confirm with the user before calling it.

  • Delete contact

    Permanently delete a contact from a list (and its company data). If the list is used by campaigns, the contact is also removed from those campaigns. Cannot be undone — confirm with the user before calling it. Find the leadId with the email/linkedinUrl lookup of get_list_contacts.

  • Delete email provider

    Removes the mailbox from the account. This cannot be undone — confirm with the user before calling it.

  • Delete linkedin scraper

    Deletes a scraper. It disappears from the API and from the app. A Sales Navigator extraction in progress is stopped and the next chunks of a segmented extraction do not start. Pitfalls: the deletion is logical (Emelia keeps the extracted file). A classic LinkedIn search that is already extracting is not stopped: it runs to its end (and still sends its FINISHED webhook). The Emelia list created from the scraper (`convertedListId`) is not deleted. This cannot be undone — confirm with the user before calling it.

  • Delete list

    Permanently delete a list AND all its contacts. This cannot be undone — confirm with the user before calling it.

  • Delete tracking domain

    Deletes the tracking domain attached to this mailbox from the account, and detaches it from every mailbox that uses it. Takes the mailbox id, not the domain id. With `onlyUnlink: true`, the domain is only detached from this mailbox and stays in the account. A mailbox without a tracking domain returns success. Deleting cannot be undone — confirm with the user before calling it.

  • Delete webhook

    Removes a URL (exact match) from an advanced campaign: it stops receiving its events. With `ALL_CAMPAIGNS`, the URL is removed from all advanced campaigns, whatever their status, and is no longer added to new campaigns. Removing a URL that is not registered is not an error.

  • Download linkedin scraper

    Returns the CSV of a scraper as text. Separator `;`, first line = column names, UTF-8 without BOM, values quoted only when needed. Large extractions give large responses; output beyond 100,000 characters is cut on a line boundary. It can be called while the extraction runs: you get what has been collected so far. `format`: `1` = only contacts with an email (requires a finished enrichment with at least one email), `2` = only contacts without an email (all contacts if the scraper was never enriched), `3` = all contacts. **People columns** (Sales Navigator and classic searches): id, firstName, lastName, fullName, location, isPremium, openProfile, linkedinUrlProfile, summary, title, company, companyId, companyLocation, companyDescription, companySize, estimatedMinRevenue, estimatedMaxRevenue, industry, description, companyPage, companyWebsite, type. `id` is the Sales Navigator profile key and can contain commas. Fields that LinkedIn does not provide stay empty (classic searches fill fewer columns). **After an email enrichment** the file is rewritten in this order: id, email_emelia, qualification_emelia, gender_emelia, firstName, lastName, fullName, location, isPremium, openProfile, linkedinUrlProfile, phone_number_emelia, phone_qualification_emelia, phone_country_emelia, summary, title, company, companyId, companyLocation, companyDescription, companySize, estimatedMaxRevenue, estimatedMinRevenue, industry, description, companyPage, companyWebsite, domain_emelia, type. **Account search columns** (companies): id, companyName, companyPage, companyDescription, companySize, employeeCountRange, industry, companyWebsite, companyLocation, yearFounded, type, estimatedMinRevenue, estimatedMaxRevenue. Once a scraper is `done`, its contacts are also imported automatically into an Emelia list (`convertedListId`), that you can manage with the list tools.

  • Duplicate campaign

    Creates a new DRAFT campaign from an existing one. Choose what to copy. Copied contacts and lists are shared references (not copies). The new name must be unique.

  • Enrich linkedin scraper

    Consumes credits. Looks for the professional email of every contact of a finished people extraction. Asynchronous: `status` becomes `enriching`, then `done` again when the emails are written into the CSV. An enrichment is closed after about one hour at most, with what was found by then. **Credits**: you need at least as many credits as `totalContact`. That amount is taken when the enrichment starts, then the credits of the contacts without an email are given back at the end: you pay 1 credit per email found. Your balance therefore drops temporarily during the enrichment. `country` is an ISO 3166-1 alpha-2 code (for example `FR`) used as a hint for the search. It is not validated. Conditions: `status` is `done` and the scraper was never enriched (`enrichEnabled` false). To enrich the first part of a long segmented extraction, split it first (split_linkedin_scraper). Only for people searches: an account (company) search has no person to look up. After completion: `enrichFound` is the number of emails found. Download with `format=1` to get only the contacts with an email, and read the columns `email_emelia`, `qualification_emelia`, `gender_emelia`, `domain_emelia`. No webhook is sent at the end of an enrichment: poll get_linkedin_scraper. Phone number enrichment of a scraper is not available in this API.

  • Export campaign

    Returns campaign data as CSV text. `contacts`: one line per contact with its custom fields, activities and replied flag; `activities`: activity log; `replies`: replies. Optional date range on activities. A CSV longer than 100,000 characters is cut on a line boundary, with a note giving the number of lines shown.

  • Export list

    Exports one list as CSV text and waits for the file. Columns: First Name, Last Name, Full Name, Email, Email Verified, Phone, Mobile Phone, Job Title, LinkedIn URL, Bio, Company, Website, LinkedIn Page, Company Size, Industry, Country, Region, City, Status, Handle, then one column per custom variable of the account, then Lists and Campaigns (company-only lists use a shorter header). Email Verified is the email verification status: verified, unverified (checked, inconclusive), invalid or unknown (never checked). `leadIds`, `search`, `statuses` and `filters` narrow the export. Up to 5,000 contacts the file comes back directly; above that Emelia prepares it in the background and this tool waits for it (up to 90 seconds), then returns the CSV. If it is still running after that, it returns the job id: call get_list_export later. Only one large export runs at a time per account: while one is queued or running, a new request returns that existing job, which may concern other lists. An export above 100,000 contacts is refused. Output beyond 100,000 characters is cut on a line boundary.

  • Filter linkedin scraper

    Removes from this scraper the LinkedIn profiles that already appear in your 10 most recent finished scrapers (comparison on the profile `id` column). Run it on a finished scraper before enriching it: fewer contacts, fewer credits. `filters` is a bit field. Only `1` exists today (remove profiles found in your other scrapers); use `1`. Asynchronous: the call returns at once and sets `processing` to true on the scraper. When the filter ends, `processing` is false again and `totalContact` and `scrapIndex` give the new count. Large files can take several minutes. Pitfalls: the CSV is rewritten and the previous version cannot be restored through the API. The filter is not restricted to finished scrapers: do not run it while an extraction is in progress. `filters: 0` is accepted but nothing runs and `processing` stays true.

  • Find campaigns using lists

    For each list id, returns the non-archived campaigns that include the list in their recipients. Use it to know whether adding contacts to a list will feed a campaign. Lists used only as exclusion lists are not reported. Ids that are not valid ObjectIds are dropped; ids of lists that are not yours return an empty array.

  • Find contact

    Search a contact across ALL the lists of the account by email address or LinkedIn profile URL. Returns the lists that contain the contact and the contact data itself. Use this to answer "do we already have this person?" or to locate a contact before updating or deleting it.

  • Find email

    Consumes credits. Find the professional email address of a person with Emelia's email finder, from their full name and company. Waits for the result (usually a few seconds). qualification is 'valid' or 'invalid'.

  • Find phone

    Consumes credits. Find the phone number of a person with Emelia's phone finder, from their LinkedIn profile URL. Waits for the result. qualification is 'found' or 'not_found'.

  • Finish campaign

    Moves a RUNNING or PAUSED campaign to FINISHED and deletes its scheduled actions and pending conditions.

  • Get activity message

    Rebuilds the content sent for a `SENT`, `MESSAGE_SENT`, `INMAIL_SENT`, `INVITED` or `WHATSAPP_MESSAGE_SENT` activity by replaying the step template against the contact. The sent content itself is not stored: the result can differ if the step or the contact changed since. For a `MANUAL_EMAIL_SENT` or `MANUAL_LINKEDIN_SENT` activity, the content actually sent is stored and returned as is, with `exact: true`. Errors use a different format here: `{"error": "NOT_FOUND"}` (404) or `{"error": "NO_MESSAGE"}` (422).

PreviousPage 2 / 5Next