Capmail for Dolibarr

Capmail is a Dolibarr module that centralizes the management of incoming and outgoing emails directly in your ERP. It automatically collects emails from one or more IMAP mailboxes, identifies senders, links them to the corresponding Dolibarr third parties and extracts attachments.

The main interface is a three-column view (list, preview, actions) that lets you process incoming emails as leads -- quick creation of third parties, contacts and projects directly from an email. A classic list view remains available for advanced searches.

New in version 2.0.8: job applications received by mail filed into the Recruitment module, received invoices sent to ScanPdf, attachments filed into the customer's record, Personal tag for an employee's departure. See What's new in 2.0.8, and the same page for every version 2.0.

New in version 2.0: major module overhaul -- new Lead Mode interface, multi-mailbox management, Capmail labels instead of IMAP folders, bidirectional IMAP flag synchronization (Thunderbird compatible), threaded view, snooze, extraction templates... See What's new in 2.0.

Main features

  • Automatic email collection via IMAP (configurable scheduled task)
  • Automatic sender detection and linking to the Dolibarr third party
  • Attachment extraction and storage
  • Multi-mailbox management with per-user access rights
  • Quick creation of third parties, contacts and projects from an incoming email
  • Data detection and extraction templates (Contact Form 7, Wix forms, etc.)
  • Sending replies with a choice of sending mailbox (per-mailbox SMTP)
  • Independent SMTP configuration per mailbox
  • Quick actions: read/unread, star, archive, spam, delete
  • Star (synchronized with \Flagged IMAP) and customizable flags (synchronized with IMAP keywords $Label1 to $Label4, compatible with Thunderbird and most webmails)
  • "Capmail" tab on the third party card to view the exchange history
  • Integration with the standard Dolibarr email sending forms (quotes, invoices, orders)

Overview of the email list in Capmail

Try before installing

Try it on a Dolibarr installed in less than 20 seconds: dolitry.fr/capmail/. The demo instance is created for you, with sample emails, and removes itself after the session.

Prerequisites

  • Dolibarr 18 or higher
  • PHP 8.0 or higher (a PHP 7.4 build is available on request for older servers)
  • One or more IMAP accounts accessible from the Dolibarr server

Getting started

  • Installation -- download, activation and update of the module
  • Configuration -- overview of the settings (mailboxes, behavior, leads, advanced, labels, templates)

Daily use

  • What do you want to do? -- index of actions, one page per task, to point a user to what they are looking for
  • Usage -- email list, quick actions, attachments and third party tab
  • Lead Mode -- turn an incoming email into a third party, contact and project
  • Email templates -- automatic detection and data extraction from emails

Administration

Detailed documentation for each administration page:

  • Mailboxes -- IMAP/SMTP accounts, access rights, folder -> label mapping
  • Connect a Gmail mailbox -- app password, [Gmail]/ folders, pitfalls to avoid
  • Behavior -- general settings (menu, IMAP archiving, exclusions, editor, default sending mailbox)
  • Leads and third parties -- default values for creating third parties, projects and automatic replies
  • Advanced -- custom flags, extra fields, column order, maintenance tools
  • Extraction templates -- automatic form detection and data extraction
  • Labels -- shared and personal Capmail labels
  • Permissions -- module permissions and mailbox access rights matrix

Help

  • FAQ -- frequently asked questions about the Capmail module

Complementary modules