> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-worktree-351-fix-webapi-escaped-anchors.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# email_attachment table

> Attachment info related to an email_item

## email\_attachment Table (495)

Attachment info related to an email\_item

## Fields

| Name                  | Description                                               | Type                               | Nullable |
| --------------------- | --------------------------------------------------------- | ---------------------------------- | :------: |
| email\_attachment\_id | Primary key                                               | PK                                 |    No    |
| email\_item\_id       | Id of the email\_item                                     | FK [email\_item](./email-item.mdx) |    Yes   |
| cid                   | The actual cid or the index of the mime part (an integer) | String(255)                        |    Yes   |
| description           | Attachment description                                    | String(255)                        |    Yes   |
| filename              | Filename of attachment                                    | String(255)                        |    Yes   |
| disposition           | Attachment disposition                                    | String(255)                        |    Yes   |
| type                  | Attachment type                                           | String(255)                        |    Yes   |
| encoding              | The attachment encoding                                   | String(255)                        |    Yes   |
| size                  | Attachment file size                                      | Int                                |    Yes   |

<img src="https://mintcdn.com/superofficeas-worktree-351-fix-webapi-escaped-anchors/lG_0VSOpA0nSl_9s/media/loc/en/database/tables/email_attachment.png?fit=max&auto=format&n=lG_0VSOpA0nSl_9s&q=85&s=d445d9ea71df41ac2944a108e492b120" alt="email_attachment table relationship diagram" width="475" height="59" data-path="media/loc/en/database/tables/email_attachment.png" />

## Indexes

| Fields          | Types | Description |
| --------------- | ----- | ----------- |
| email\_item\_id | FK    | Index       |

## Relationships

| Table                       | Description |
| --------------------------- | ----------- |
| [email\_item](./email-item) | Email data  |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.
