> ## 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.

# mail_in_uidl table

> This table is used to avoid spamming the system by importing the same message several times (normally a result of a crash somewhere). When a mailbox is openede, then unique id for each message is stored in this table, and then removed only when the message has been correctly imported and deleted from mailbox.

## mail\_in\_uidl Table (272)

This table is used to avoid spamming the system by importing the same message several times (normally a result of a crash somewhere). When a mailbox is openede, then unique id for each message is stored in this table, and then removed only when the message has been correctly imported and deleted from mailbox.

## Fields

| Name          | Description                                                              | Type                                        | Nullable |
| ------------- | ------------------------------------------------------------------------ | ------------------------------------------- | :------: |
| id            | Primary key                                                              | PK                                          |    No    |
| filter\_id    | The mailbox for this UIDL entry.                                         | FK [mail\_in\_filter](./mail-in-filter.mdx) |    No    |
| uidl          | The actual UIDL (i.e. the unique string identifying a specific message). | String(2047)                                |    Yes   |
| last\_checked | The last time this message was attempted to be imported.                 | DateTime                                    |    Yes   |
| status        | The status of this UIDL entry (enum).                                    | status                                      |    Yes   |
| retries       | The number of attempts for importing this message.                       | Int                                         |    Yes   |

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

## Indexes

| Fields     | Types | Description |
| ---------- | ----- | ----------- |
| filter\_id | FK    | Index       |

## Relationships

| Table                                | Description                                                                                             |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------- |
| [mail\_in\_filter](./mail-in-filter) | This table contains entries for the mailboxes the eJournal system is fetching mail from (POP3 or IMAP). |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [mail_in_filter table](/en/database/tables/mail-in-filter.md)
- [inbox table](/en/database/tables/inbox.md)
- [What's new in version 10.1.2.686](/release-notes/database/changes-10.1.2.md)
- [What's new in version 10.1.5](/release-notes/database/changes-10.1.5.md)
- [What's new in version 10.2.1.1517](/release-notes/database/changes-10.2.1.md)
- [What's new in version 10.2.2.707](/release-notes/database/changes-10.2.2.md)
