Convomail: send, read and file email from inside Dolibarr
My users miss details when moving back and forth from inboxes to Dolibarr, so I brought email into Dolibarr further than the email-collector. I built an email client for Dolibarr with deep integration into Dolibarr’s project, quoting, ordering, invoicing, and AI modules.
Sending. Each user sets up IMAP/SMTP on their user card (presets for Gmail and Microsoft 365, OAuth supported). Mail goes out through their own SMTP server, so it passes SPF/DKIM and lands in their real Sent folder. Every sent message is logged as a normal agenda event, linked to the third party, known contacts, project and document. Compose is rich text with signatures, Dolibarr templates, pasted images and address autocomplete, and any logged email with a Message-ID gets a Reply button.
Reading.
There’s a Mailbox entry in the top menu: three panes, drag and drop, keyboard shortcuts, phone layout. Emails from known contacts are marked, and each one is matched to a project where possible (thread, Dolibarr tracking code, or a suggestion). Replies to project threads file themselves on the project, and each project gets an Emails tab. If you work several mailboxes (yours plus a shared sales@), there’s a Combined Inbox, and an unread counter in the top bar for mail from your Dolibarr contacts.
From an email into Dolibarr.
Under an open message you can file its attachments on any record, link it to an existing document (“PO #4512” in the subject finds the order), or create a draft proposal, order, invoice, ticket or project pre-filled from it. Supplier invoice PDFs with e-invoice data (Factur-X, ZUGFeRD, XRechnung, UBL/CII) can fill in the number, dates and VAT lines, with a VAT number check and a warning when the sender address doesn’t match the supplier. Nothing is created without you submitting the form.
Opens.
Read receipts, plus optional pixel tracking (off by default). It strips its own pixel from incoming mail and quotes, and ignores loads from your own team, image proxies it can identify, and security scanners — so the open counts are a usable hint instead of noise.
Shared mailboxes. sales@ or support@ can be shared with chosen users, read only or with send rights.
No core changes (there’s an optional 5-line patch that adds a setup tab, but it works without it). Permissions are Dolibarr’s own, and passwords/tokens are stored encrypted with Dolibarr’s key.
Dolibarr 20+, PHP 8.1+. Tested on 20 and 23 against GreenMail and Dovecot test servers, but not against real Gmail or 365 yet — reports from either would be very welcome.
GPL-3.0: Releases · zacharymelo/convomail · GitHub — grab the zip and install it through Home > Setup > Modules > Deploy external module. The README covers the OAuth app setup.












