> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# message_id table

> This table links an email message id to an eJournal item

## message\_id Table (386)

This table links an email message id to an eJournal item

## Fields

| Name        | Description                               | Type        | Nullable |
| ----------- | ----------------------------------------- | ----------- | :------: |
| id          | Primary key                               | PK          |    No    |
| message\_id | The message id                            | String(255) |    No    |
| domain      | The domain to which this message id links | Int         |    No    |
| item\_id    | The id of the element this item links to  | Int         |    No    |

<img src="https://mintcdn.com/superofficeas/6OcOTPa_ISkjXJg4/media/loc/en/database/tables/message_id.png?fit=max&auto=format&n=6OcOTPa_ISkjXJg4&q=85&s=d89a680144d9912193b2bfab75165053" alt="message_id table relationship diagram" width="120" height="59" data-path="media/loc/en/database/tables/message_id.png" />

## Indexes

| Fields      | Types       | Description |
| ----------- | ----------- | ----------- |
| message\_id | String(255) | Index       |
| domain      | Int         | Index       |
| item\_id    | Int         | Index       |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [message_customers table](/en/database/tables/message-customers.md)
- [message_header table](/en/database/tables/message-header.md)
- [Message table](/en/database/tables/message.md)
- [s_sent_message table](/en/database/tables/s-sent-message.md)
- [ej_message table](/en/database/tables/ej-message.md)
- [Rename Mailing By Message Id](/en/api/reference/restful/agent/marketing_agent/rename-mailing-by-message-id.md)
