Use MailDesk with CRM
Turn an email into a CRM lead or opportunity, link it to a record you already have, and see the email history in the CRM record's chatter, all without leaving MailDesk.
Who this is for: sales users (daily use) and MailDesk administrators (one-time setup per mailbox).
You need:
- The MailDesk CRM Integration module (
maildesk_mail_client_crm). - MailDesk Pro, and MailDesk Basic below it.
- The Odoo CRM app.
- A connected mailbox that syncs.
Which MailDesk edition includes this module is described in Plans and included features.
Before you begin
- Install the module on your Odoo database and check that CRM is installed. Install steps are in Install MailDesk.
- Administrators: turn the integration on for each mailbox that needs it (Step 1). It is off by default.
- Users: you need normal Odoo CRM access. The panel works as you, so your CRM access rules still apply. See Security and access rights.
Step 1: Turn on CRM for a mailbox (administrator)
- Open MailDesk ▸ Configuration ▸ Mailboxes ▸ Mailbox Accounts and open the mailbox.
- Open the Settings tab and find the card CRM Linking & Sales Follow-Up.
- Switch Enable on. The card shows its options.
- Set the options you need, then save the mailbox.
What you should see: the card expands and shows Defaults, Permissions and Automation.
| Group | Options |
|---|---|
| Defaults | Default CRM Type (lead or opportunity), Default CRM Team, Default Lead Salesperson, Default CRM Stage, Default Source, Show Expected Revenue, Show Probability |
| Permissions | Allow Create Lead, Allow Link Lead, Allow Unlink Lead, Allow Stage Change (CRM), Allow Owner Change |
| Automation | Auto-link by Reply Headers (CRM), Auto-link by Subject Token (CRM), Log Agent Replies (CRM), Log Customer Replies (CRM) |
Set the defaults once
New records start with the team, salesperson, stage, source and type you choose here. Your team then does not need to fill them in each time.
Step 2: Open the CRM panel on an email
- Open an email in MailDesk.
- Click the CRM button (handshake icon) on the email toolbar.
What you should see: the CRM panel opens beside the message. If the email is not linked yet, the panel says No CRM records linked yet and offers Create Lead/Opportunity and Link Existing.
Step 3: Create a lead or opportunity from the email
- In the panel, click Create Lead/Opportunity.
- A CRM form opens, filled in from the email: the sender, the subject and the message. Complete the fields you need and save.
What you should see: the new record appears in the panel as a card. The first linked record carries the Primary badge.
Create with AI
The panel also has a Create with AI button. It opens the MailDesk AI panel, which proposes the lead fields. You can change them before you create the lead. AI features belong to MailDesk Pro; see AI permissions and data access.
Step 4: Link the email to an existing record
- In the panel, click Link Existing.
- In Link to Existing Lead, choose a Sales Team to narrow the list, then choose the lead or opportunity.
- Tick Make Primary if this record should be the main record for the email. (This option appears when the email already has linked records.)
- Click Link.
Step 5: Change the stage or owner from the panel
On a card you can open the full record. If the administrator allowed it, you can also change the Stage or the Owner in the card.
Unlinking is safe
Unlinking removes only the link between the email and the record. The lead or opportunity is not changed or deleted.
Step 6: Check the email history in CRM
Open the CRM record in Odoo. The linked email appears in its chatter with an Open in MailDesk link.
Log Agent Replies and Log Customer Replies
The options Log Agent Replies (CRM) and Log Customer Replies (CRM) are on the card, but the module does not post a separate message into the record's chatter. The linked email itself is the record. Followers are not notified again.
What you should see: in MailDesk, the CRM button shows a badge with the number of linked records.
How automatic linking works
When Auto-link by Reply Headers (CRM) or Auto-link by Subject Token (CRM) is on, MailDesk links a follow-up email on its own, but only when the match is exact:
- Reply headers: the reply belongs to an email that is already linked.
- Subject token: the subject contains a token such as
[LEAD-123]or[OPP-123]that names one record.
MailDesk does not guess from a similar subject or the same customer.
If it does not work
| Symptom | Check | Safe next step |
|---|---|---|
| There is no CRM Linking & Sales Follow-Up card. | Is the module installed? Is the Settings tab open? | Install the module, then reload the mailbox form. |
| There is no CRM button on emails. | Is Enable on for this mailbox? Do you have access to this mailbox? | Ask an administrator to turn it on or give you mailbox access. |
| Create Lead/Opportunity or Link Existing is missing. | The permission options on the card. | Ask an administrator to switch on Allow Create Lead or Allow Link Lead. |
| Odoo shows an access error when you open or save a record. | Your CRM access rights. | Ask your Odoo administrator for CRM access. |
| A follow-up email was not linked. | Are both auto-link options on? Does the subject token match a record? | Link it by hand with Link Existing. |
For other problems, see Troubleshooting.
Next step
Use MailDesk with Sales to link emails to quotations and orders.