--- title: "email-analysis clean-emails keep days <days>" slug: "email-analysis-clean-emails-keep-days-days" tags: ["Reference", "CMS 11.x", "EX 11.x", "HX 10.x", "FX 11.x", "AX 11.x", "NX 11.x", "IVX 11.x", "Customer", "Network Security"] updated: 2026-08-04T17:23:24Z published: 2026-08-04T17:23:24Z canonical: "docs.trellix.com/email-analysis-clean-emails-keep-days-days" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # email-analysis clean-emails keep days <days> Configures the number days to retain clean emails. Emails can be stored for 1 day up to 90 days. ### Syntax `email-analysis clean-emails keep days <days>` ### Parameters `<days>` Number of days to retain clean emails. ### Example The following example configures the number days as 40 days to retain clean emails. ``` hostname (config) # email-analysis clean-emails keep days 40 ``` ### User role Administrator ### Command mode Configuration ### Supported appliances This command is supported on the following appliances running the specified releases or later: - **Email Security — Server:** Release 11.0.1