Communications
Generic, counterparty-agnostic communication log: address book (lists, contacts, endpoints) and an outbound/inbound message store across channels. Depends on nothing — business modules (crm, fin, wms) reach it through the parties-comm bridge or a raw source pointer.
v0.2.2 · 39 installationen · free
What it does
comm is the address book and message log for everything your business says to people outside it. Contacts own their email addresses, phone numbers and messenger handles. Every message is stored once, with its status, and can point back to the record it was about, such as an invoice or a quote.
Other modules can send email without building their own mail plumbing: they insert a message row, and comm delivers it.
Highlights
- Address book that works like an address book - a contact owns its contact points (email, SMS, WhatsApp, Telegram, phone) and you edit them directly on the contact card. No separate endpoint registry to maintain.
- Lists - group contacts into Shared, Personal or Synced lists.
- Unknown senders are kept - a message from an address that matches no contact is stored with an unlinked contact point, so it can be linked to a contact later.
- One message log - outbound and inbound messages across channels, with status (Queued, Sent, Delivered, Received, Failed, Bounced), attempt count, last error and threading fields (
thread_id,in_reply_to). - Link to any record - a message carries the entity code and record id it relates to, so a reply to an invoice mail can be traced back to the invoice. This works without
commknowing the other module. - Queued email sending - any module queues an email by inserting a message. A scheduled job hands queued mail to the platform mailer every minute, and Send Now sends one immediately.
- Format checks - contact points are validated by channel (email format, phone format) and a contact cannot hold the same point twice.
- Inbox view - inbound messages, newest first.
Scheduled job
dispatch_messages runs every minute and sends up to 10 queued email messages per run, oldest first. It writes the resolved recipient, status, send time and attempt count back to each message.
Sending email from another module
Sending is an insert, from any action:
insert('comm.message', {
channel: 'email',
direction: 'out',
to_addr: 'ap@acme.example', // status defaults to 'queued'
subject: 'Invoice ' + [invoice_no],
body_html: html,
source_entity_cd: 'fin.invoice',
source_record_id: [invoice_id]
})
Typing a message by hand in the Messages grid queues it the same way. The recipient is to_addr, or the address of the linked to_point when to_addr is empty.
Not included yet:
Sentmeans handed to the platform mailer; a delivery failure at the mail server is not reported back to the message.- Mail goes out through the platform's mail configuration.
channel_accountrecords the sender identity but does not yet drive the transport. - Attachments are stored but not sent.
- Only email is sent. Messages on other channels stay queued.
- Inbound mailbox polling is not built; inbound messages are entered or loaded by other means.
Demo data
2 contact lists, 4 contacts with 8 contact points, one email channel account and 4 messages: a sent quote, a threaded reply, an unmatched inbound message and a failed one.
Inhalt
Die Entitäten, Ansichten, Berichte, Druckvorlagen und Aktionen des Moduls.
Entitäten 6
contact_listcontactcontact_pointchannel_accountmessagemessage_attachmentAnsichten 6
Aktionen 2
Rollen
Im Modul enthalten und direkt nach der Installation zuweisbar.
- Full access to communications, contacts, and channel configuration
comm.admin - Manage contacts and send/read messages; no channel configuration
comm.user - Read-only access to contacts and message history
comm.viewer
0.2.129. Sept. 2026
Channel account is optional again
Install requirement: platform 1.26.0 or newer (metadata 1.14.0), which translates action messages.
For users
A message no longer has to name a channel account. Nothing reads it yet, so leaving it empty changes nothing about how the message is sent.
For developers
message.channel_account_iddropsM(flagsE, itschannel_accountReferenceVE). Since 0.2.0 it was required, which broke two things:insert('comm.message', {...})without achannel_account_idfailed, although that is the documented way for another module to queue mail anddispatch_messagesnever reads the field;- upgrading a tenant from 0.1.x was rolled back when it held a message with no channel account, which 0.1.x allowed.
- The upgrade lifts the column's NOT NULL; existing values are kept.
- Two of the four messages in
logic/actions/joined text and values; they now use{placeholders}with their values in the second argument. Communications ships no locale files, so nomessagesblock is added yet. dependenciesgains"metadata": ">=1.14.0"with adeps/metadata.jsoncontract, so an older platform refuses the install instead of showing{placeholders}literally.version→0.2.1.
Durchstöbern Sie den
Modulkatalog.
Jedes Modul ist Metadaten — mit einem Klick installieren, dann alles ändern.