| id | The primary key (auto-incremented) | PK | No |
| server_type | Enum indicating the protocol to use (POP/IMAP). | Enum MailboxType | Yes |
| pop_server | The hostname/IP address of the server. | String(255) | Yes |
| pop_user | The username used to login. | String(255) | Yes |
| pop_password | The password used to login. | String(255) | Yes |
| domain | The domain used to login. | String(255) | Yes |
| address | The address associated with this mailbox (used as FROM: address when sending emails). | String(255) | Yes |
| category_id | The id of the category this mailbox assigns tickets to (unless overridden by a sortfilter). | FK ej_category | Yes |
| priority | The id of the priority tickets are assigned when imported from this mailbox. | FK ticket_priority | Yes |
| reply_template_id | ID of the reply template used on this mail box. | FK reply_template | No |
| checkwait | How often (in minutes) to check this mailbox. | Int | No |
| next_check | When this mailbox should be checked the next time. | DateTime | Yes |
| noautoreply | If set, then this mailbox should not send an autoreply. | Bool | Yes |
| last_success | Datetime indicating the last time email was sucessfully imported from this mailbox. Used to display warnings when this value is getting too old. | DateTime | Yes |
| last_try | Datetime indicating the last time this mailbox tried (but possibly failed) to fetch email. | DateTime | Yes |
| importmail_pid | The process id of the importMail instance processing this mailbox | Int | Yes |
| status | Status indicated whether this mailbox is deleted or not. | status | Yes |
| last_error | The last error message recieved from the underlying email system (such as POP3 protocol errors, etc). | Clob | Yes |
| num_seq_failures | The number of sequential failures for this mailbox. | Int | Yes |
| keep_headers | A commaseparated list of headers to store for emails imported. E.g. 'to,from,recieved-by,subject'. | String(255) | Yes |
| language_id | The id of the customer language entry this entry is connected to. | FK cust_lang | Yes |
| autofaq | Whether to suggest FAQ entries for this email account or not | Bool | Yes |
| autofaq_kb_category | The root folder for the auto faq search. | FK kb_category | Yes |
| mailgun_dsn | If this is set to 1, the route created in Mailgun will be set up to deliver emails of type auto-replies, system messsages etc | Bool | Yes |
| ai_suggest_category | If this is set to 0 (false), then there will be no AI for suggesting categories on incoming emails | Bool | No |
| ai_text_analysis | If this is set to 0 (false), then there will be no AI text analysis on incoming emails | Bool | No |
| ticket_type | Tickettype of the ticket | FK ticket_type | Yes |