---
id: object/table/3321
type: object
title: Table 3321 "PA Email Duplicate Buffer"
summary: Table 3321 "PA Email Duplicate Buffer" in PayablesAgent (Microsoft.Agent.PayablesAgent). 11 fields. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - payablesagent
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 505d20d01ecfc61bf5f0e5540e03ef404b3f94a1d98f1a4fcb286d3b6b084e6f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/PayablesAgent/app/EmailStorageCleanup/PAEmailDuplicateBuffer.Table.al
    title: src/Apps/W1/PayablesAgent/app/EmailStorageCleanup/PAEmailDuplicateBuffer.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/11950
    - change/bcapps/11890
object_type: table
object_id: 3321
name: PA Email Duplicate Buffer
caption: Email Inbox Duplicate Group
namespace: Microsoft.Agent.PayablesAgent
app: PayablesAgent
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 11
  procedures: 0
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 3321 "PA Email Duplicate Buffer"

> Table 3321 "PA Email Duplicate Buffer" in PayablesAgent (Microsoft.Agent.PayablesAgent). 11 fields. Introduced in BC29, still in BC30.

PayablesAgent · Microsoft.Agent.PayablesAgent · captioned "Email Inbox Duplicate Group" · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/PayablesAgent/app/EmailStorageCleanup/PAEmailDuplicateBuffer.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Email Inbox Duplicate Group |
| Access | Internal |
| Extensible | false |
| TableType | Temporary |
| DataClassification | SystemMetadata |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Entry No. | Integer | — |  |
| 10 | External Message Id | Text[2048] | Specifies the external message id shared by all copies of this email. <small>via [Page 3326 "PA Email Duplicates"](../page/3326.md)</small> |  |
| 11 | Account Id | Guid | Account id <small>caption</small> |  |
| 12 | Keep Email Inbox Id | BigInteger | Kept Email Inbox id <small>caption</small> |  |
| 20 | Duplicate Count | Integer | Specifies how many Email Inbox rows exist for this email. All but the oldest one are redundant. |  |
| 21 | Redundant Count | Integer | Specifies how many Email Inbox rows would be deleted for this email. The oldest row is always kept. |  |
| 22 | Skipped Count | Integer | Specifies how many redundant copies would be left untouched (skipped) because their email message is shared with another inbox row, and removing them would take that row's message with it. |  |
| 30 | Sender Address | Text[250] | Specifies the sender of the email that was stored more than once. <small>via [Page 3326 "PA Email Duplicates"](../page/3326.md)</small> |  |
| 31 | Description | Text[2048] | Specifies the subject of the email that was stored more than once. <small>via [Page 3326 "PA Email Duplicates"](../page/3326.md)</small> |  |
| 40 | Oldest Received DateTime | DateTime | Specifies the received date of the oldest stored copy. <small>via [Page 3326 "PA Email Duplicates"](../page/3326.md)</small> |  |
| 41 | Newest Received DateTime | DateTime | Specifies the received date of the newest stored copy. <small>via [Page 3326 "PA Email Duplicates"](../page/3326.md)</small> |  |

## Keys

- PK: Entry No. (clustered)
- ByRedundancy: Redundant Count

## Pages and codeunits on this table

- [Page 3326 "PA Email Duplicates"](../page/3326.md) (source table)

## Recent changes

- 2026-09-28 [#11950 Adding an in-product email storage cleanup (backport to releases/29.x)](../../changes/bcapps/11950.md) (releases/29.x, BC29, feature, added)
- 2026-09-28 [#11890 Adding an in-product email storage cleanup](../../changes/bcapps/11890.md) (main, BC30, feature, added)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "PA Email Duplicate Buffer")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
