---
title: "Search for an email"
weight: 87
description: "Find a message by a word, a sender, a period or an attachment, including among archives and snoozed emails."
source_hash: "a776eec8"
---

# Search for an email

Finds a specific message when you no longer remember where it is filed: a word in the subject, a sender's name, a period, the presence of an attachment.

## Steps

1. Open Lead Mode.
2. If you have several mailboxes, choose at the top of the list the mailbox to search in, or **All mailboxes**. The search remains limited to the displayed mailbox.
3. Click the **Search** bar, under the status bubbles, to expand the search panel.
4. Type your text. The dropdown on its left limits the search to the subject, the sender, the recipient or the message content; by default, it covers all of them at once.
5. If needed, specify the criteria of the second line (see below).
6. Click the magnifier, or press Enter.

The panel stays open as long as a search is active. To return to the normal list, click the **Clear filters** cross on the right of the magnifier.

## The criteria of the second line

- **two dates**: start and end of the period. The end date is included up to 23:59;
- **the paperclip**: only emails with at least one attachment;
- **the broken link**: only emails not linked to any third party. Handy to find what remains to be processed. An email linked to a job application of the Recruitment module is processed: it is not listed, even without a third party. Shortcut: clicking the **Unknown** badge of an email in the list directly applies this filter, in the displayed mailbox;
- **the crossed archive**: exclude archived emails;
- **the read/unread list**: **All (read + unread)**, **Unread only** or **Read only**. The last two choices only keep received mail, never sent messages.
- **the Assignment list**: **Mine** or **Unassigned**, for shared mailboxes. This criterion does not launch a search by itself: it restricts the current view (see [Assign an email to a colleague](/capmail/action-attribuer-mail)).

You can fill in a criterion without typing any text: a period alone, or "with attachment" alone, is enough to launch a search.

![List of emails linked to no third party, opened from the Unknown badge](screenshots/fonction-mails-sans-tiers.webp)

## The search looks everywhere

This is the key point: as soon as a search is active, Capmail no longer limits itself to the inbox. Results include:

- **archived** messages (unless you tick the crossed archive);
- messages in the **trash**;
- **sent** messages;
- **snoozed** messages, which are hidden from the usual list.

An email filed by mistake is therefore found with a simple search.

## The bubbles and the labels

The bubbles above the search are shortcuts to a category: **All**, **Unread**, **Sent**, **Archived**, **Spam**, **Hidden** (snoozed emails). A bubble's number counts unread, not the total of the category: **Unread** counts received unread emails, without snoozed ones, and **Hidden** the snoozed emails still unread. **All** displays no number: the list also contains read emails, and the total number of emails is indicated at the bottom of the list. Sent, Archived and Spam do not display one either, since an email in these categories is never unread. The **Mine** bubble only appears if an email is assigned to you: it lists those emails, and its number counts those still in the inbox (see [Assign an email to a colleague](/capmail/action-attribuer-mail)).

Clicking a bubble starts from scratch: the searched text and the criteria are abandoned.

Clicking a label, however, filters the list on that label, and a search launched afterwards remains limited to the emails that carry it.

## What the search does not find

- **the content of attachments**: only the message text is searched, not that of an attached PDF or document;
- **mailboxes you do not have the right to read**: the search respects the rights matrix, an email from a mailbox not open to you never appears. A Dolibarr administrator sees all mailboxes;
- **private emails from your colleagues' personal mailboxes**;
- **emails from excluded senders** in the module configuration (**Excluded senders** setting): they are excluded everywhere, search included;
- **emails from another entity**, if your Dolibarr manages several;
- **deleted emails**: deletion is permanent, unlike the trash.

## Good to know

There is no Capmail search in Dolibarr's general search bar: email search is done from Lead Mode or the classic list.

For column-by-column search (reference, sender, recipient, status...), the **Classic list mode** button (list icon, at the top of Lead Mode) opens Dolibarr's table view. Beware, it behaves differently: archives, trash and snoozed emails do not appear there. For them, use the Lead Mode search. The **Lead mode** button (columns icon) takes you back to Lead Mode.

To find all exchanges with a customer, the third party card is often more direct than search: see [View exchanges from a third party's card](/capmail/action-consulter-fiche-tiers).

## See also

- [What do you want to do?](/capmail/actions)
- [Follow a conversation thread](/capmail/action-suivre-conversation)
- [View exchanges from a third party's card](/capmail/action-consulter-fiche-tiers)
- [Snooze an email](/capmail/action-mettre-en-attente)
- [Apply a label to an email](/capmail/action-poser-etiquette)
- [Permissions](/capmail/permissions) -- the per-mailbox rights matrix
