Messages

messages in @open-mercato/core

Internal messaging system with attachments, actions, and email forwarding.

Ships with Open Mercato 0.9.0

On in a new app. Nothing to enable.

In an app from the empty preset

yarn mercato module enable @open-mercato/core --module messages

Then run yarn generate. Core is already installed, so nothing is downloaded.

Anatomy

ADDS 5 TABLES · 7 PERMISSIONS · EMITS 9 EVENTS

Data

  • messages
  • message_recipients
  • message_objects
  • message_access_tokens
  • message_confirmations

API

Routes are not listed for built-in modules.

Security

messages.

  • view
  • compose
  • attach
  • attach_files
  • email
  • actions
  • manage

Events

messages.

  • emitsmessage.sent
  • emitsmessage.read
  • emitsmessage.marked_unread
  • emitsmessage.archived
  • emitsmessage.unarchived
  • emitsmessage.deleted
  • emitsmessage.action_taken
  • emitsmessage.email_sent
  • emitsmessage.email_failed
  • subscribesmessage.sent

UI

  • 3 backend pages
  • 1 frontend page

Background

  • 1 worker

Not present: AI tools.

Not read: credentials and env, hosts (not in module-facts.v2.json).

From module-facts.v2.json in @open-mercato/cli 0.9.0. Read statically, not executed.