# Ability to filter attachments for logged emails

**URL:** <https://community.hubspot.com/t/ability-to-filter-attachments-for-logged-emails/45601>\
**Category:** HubSpot Ideas\
**Tags:** sales-email, object\
**Created:** [October 20, 2021, 6:13am UTC](https://community.hubspot.com/t/ability-to-filter-attachments-for-logged-emails/45601 "2021-10-20T06:13:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![YiRui\_Chua](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/yirui_chua/32/23766_2.png) [@YiRui\_Chua](https://community.hubspot.com/u/YiRui_Chua)\
**Post date:** [October 20, 2021, 6:13am UTC](https://community.hubspot.com/t/ability-to-filter-attachments-for-logged-emails/45601/1 "2021-10-20T06:13:44Z")

</div>

Hi team,

Raising this for a customer here.  
Currently, when an email is logged, all attachments would be added to the record as well. It would be great if we can set a filter to only log attachments of a certain size - this way, we can prevent non-useful attachments such as email signature from being attached as well.  
Thank you!

---

<div class="post-metadata">

**Author:** ![Andrabi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/andrabi/32/50399_2.png) [@Andrabi](https://community.hubspot.com/u/Andrabi)\
**Post date:** [October 20, 2021, 6:16am UTC](https://community.hubspot.com/t/ability-to-filter-attachments-for-logged-emails/45601/2 "2021-10-20T06:16:10Z")

</div>

I can definitely see this being useful for us where we can ignore all files under 1KB (email signatures etc.)

---

<div class="post-metadata">

**Author:** ![OllieS](https://avatars.discourse-cdn.com/v4/letter/o/e274bd/32.png) [@OllieS](https://community.hubspot.com/u/OllieS)\
**Post date:** [September 29, 2023, 10:24am UTC](https://community.hubspot.com/t/ability-to-filter-attachments-for-logged-emails/45601/3 "2023-09-29T10:24:59Z")

</div>

This is essential!! Having on/off isn’t a delivered solution, in my opinion. Almost everyone’s email signature contains .png or .jpg images that’re a few KBs, so contact attachments end up being littered. But equally we want externally-attached PDFs, etc. to still be recorded.

What we really need is:

Filter options to select which attachments to record (file size and file type should be options). So we should be able to say store ALL PDF files but only save png or jpeg if \>500KB, for example.
