> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CRMScript event model

> CRMScript event model

The event model was introduced in version 4.2. The scripts are connected to events by setting the **include-id** of the script to values recognized by the system.

Currently, only event scripts for pages are supported, which are in the `HtmlPage.` namespace. In the future, other events, such as database saving or loading may be supported by using other namespace areas.

<Note>
  This feature requires a license for [Development Tools][1] or the CRM Suite **Core** plan.
</Note>

[1]: /en/admin/license/expander-services

## Events

* [Email filter][1]
* [Mailbox event, executed after message is saved][3]
* [Mailbox event, executed before message is saved][2]
* [Saving a request][4]

[1]: ./email-filter

[2]: ./mailbox-before-save

[3]: ./mailbox-after-save

[4]: ./saving-a-request
