Steps to Reproduce
There are three ways to get into an "excessive attachments" situation that degrades the instance performance.
- Platform receives or generates a **single** email with a large attachment count
- Platform receives or generates a **single** email with a reasonable attachment count, but combined attachment sizes result in a very large email.
- Platform receives large volume of emails, and each email contains reasonable attachment count and combined size (e.g., every email into the system includes a 15mb attachment. As an individual email this is fine. If every email includes a 15mb attachment, this might be an issue.)
Limit the number of attachments per email and ensure that the total size of the attachments is well below 25MB.
Related Problem: PRB598544