---
title: "Create a third party from an email"
weight: 87
description: "Turn an incoming email into a Dolibarr third party card, with its contact and its project, without retyping."
source_hash: "04644589"
---

# Create a third party from an email

This is the module's central action: a stranger writes to you, and their customer card exists in one click, pre-filled with what Capmail managed to extract from the message.

## Before starting

You need the **Third party: create** right. To create the contact at the same time, you also need the **Contacts: create** right; for the project, the **Project: create** right. Without one of them, creation is refused entirely: untick the contact or the project to create only the third party.

## Steps

1. Open the email in Lead Mode.
2. In the right column, **Create** tab.
3. Check the pre-filled fields, correct if needed.
4. Validate.

## The pre-filled fields

Capmail analyzes the message and proposes what it found: name, email, phone, address, zip code, city, country, SIREN, VAT number, website.

Automatically filled fields are **visually flagged**. This is deliberate: an extraction remains a guess, and you must be able to spot at a glance what comes from the message and what you typed.

If an extraction template matches the message (your website's contact form, for example), its rules apply. Otherwise, a generic analysis takes over.

## Two checkboxes that save time

The form allows creating, in the same move:

- **a contact** attached to the new third party (last name, first name, email, phone);
- **a project**, with the possibility to copy the email's attachments into it.

Tick what you need: everything is created and linked in a single validation.

## What Capmail applies automatically

- **Customer or prospect** according to the setting chosen in the administration (Leads and third parties tab).
- **Customer code** generated by Dolibarr.
- **Default sales rep, payment terms and payment mode**, if configured in the administration.
- The email is **linked to the created third party**, and switches to read status.

## The link extends to the whole conversation

Important point: the third party is not attached to the displayed message only, but to **all the messages of the same thread**. If the exchange already had three back-and-forths, all three are linked at once. Only the thread messages you have the right to see are modified: a message from a mailbox you do not have access to, or a private message from a colleague's personal mailbox, keeps its link.

This avoids redoing the operation message by message.

## See also

- [Link an email to an existing third party](/capmail/action-lier-tiers) -- when the customer already exists
- [Create a contact attached to a third party](/capmail/action-creer-contact)
- [Create a project from an email](/capmail/action-creer-projet)
- [What do you want to do?](/capmail/actions)
