ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[W1][Table][8904][Email Message Attachment] Request to make attachments table accessible for cleanup procedures

Open MortegaITB opened this issue 9 months ago • 1 comments

Why do you need this change?

Currently, attachments related to Sent Email (Table 8889) can only be deleted manually through the user interface, one by one.

In environments with a high email volume, this leads to:

  • Rapid database growth
  • Accumulation of large attachment files
  • Manual and inefficient maintenance
  • No possibility to automate cleanup processes

If developers had programmatic access to the related attachment records, it would be possible to implement controlled cleanup procedures based on filters such as:

  • Email account
  • Document type

This would significantly improve database maintenance, performance, and storage management, especially in on-premise installations.

Describe the request

We request that Microsoft make the attachment data related to Sent Email (Table 8889) accessible for extension development.

The goal is not to delete Sent Email records themselves, but to allow controlled deletion of attachment content while keeping the email conversation metadata.

Specifically:

  • Provide access (public methods or integration events) to manage attachments linked to Sent Email.
  • Allow deletion of attachment content programmatically.
  • Ensure that deletion can be executed safely using filters.
  • Preserve email history while removing only the file content.

This would allow partners and customers to implement automated retention policies and prevent unnecessary database growth due to stored attachments.

MortegaITB avatar Feb 11 '26 09:02 MortegaITB

Hello @MortegaITB Objects you mentioned are part of System App which is in BCApps repo All potential changes in this repo are on contribution level Please check manual

AleksandricMarko avatar Feb 11 '26 14:02 AleksandricMarko