Administrative templates
Draftable Clean provides administrative templates (ADMX/ADML files) that list all available settings, making it easy to discover and configure them directly from the Group Policy editor without needing to know individual registry paths.Obtain the templates
current folder is a shortcut that always points to the latest installed version.Install the templates
.admx file to:.adml language file from:Edit policies
- Computer Configuration > Administrative Templates > Draftable Clean
- User Configuration > Administrative Templates > Draftable Clean
Available policy settings
Draftable Clean policies are written under the following registry root, depending on the scope you select in the Group Policy editor:Licensing
The product key is not included in the administrative templates. To activate machines centrally, set it as a registry value (directly, via Intune OMA-URI, or with a registry script). Draftable Clean reads it on launch and activates automatically.Outlook add-in (...\Clean\AddIn)
Default cleaning profile (no recipients)
Default cleaning profile (no recipients)
Allow per-attachment profile override
Allow per-attachment profile override
Default attachment list format
Default attachment list format
table or list.Send behaviour: attachments not finished cleaning
Send behaviour: attachments not finished cleaning
block (prevent sending), prompt (ask user), allow (send anyway).Send behaviour: tracked changes or comments detected
Send behaviour: tracked changes or comments detected
block (prevent sending), prompt (ask user), allow (send anyway).Send behaviour: unsupported file types
Send behaviour: unsupported file types
block (prevent sending), prompt (ask user), allow (send anyway).Configure Outlook add-in settings (JSON)
Configure Outlook add-in settings (JSON)
Configure domain rules
Configure domain rules
...\Clean\DomainRules.Domain rules map recipient email domains to cleaning profiles, so the Outlook add-in automatically applies the right profile based on who an email is being sent to. When you configure rules through the app UI (Settings > Add-In), Draftable Clean writes them to the registry for you. When you deploy centrally through the Configure domain rules policy, you set the same value — DomainRulesJson — directly, so it helps to know the JSON format.NoRecipientsProfileId), listed under Outlook add-in in Available policy settings. Domain rules only apply once recipients are present.JSON format
The policy value is a single JSON object with arules array. Each rule maps one or more domains to a profile:Choosing the profile ID
TheprofileId in each rule must match a profile that exists on the target machine. The three built-in profiles have fixed IDs that are identical on every machine, so they are always safe to reference:profileId.How domain rules are matched
- For a single recipient domain, the most specific matching pattern wins. An exact match beats a parent-domain (subdomain) match, which beats the wildcard
*. - When an email has recipients across multiple domains, Draftable Clean applies the least specific of the matched rules. This is a deliberate safety measure: if any recipient falls outside your specific rules, the catch-all rule applies, so documents going to external or unknown recipients are cleaned with your default profile rather than a lighter internal one.
Disabling cleaning for specific domains
To stop attachments being cleaned for certain recipients (for example, internal colleagues), point a domain rule at a profile that preserves all metadata:Create a preserve-all profile
Note its profile ID
id value for the profile you created.Add a domain rule
domains list contains your internal domains and whose profileId is that profile’s ID.Keep the catch-all rule
["*"] rule pointing at a full cleaning profile so external mail is still cleaned.Email export — desktop Email button (...\Clean\Export)
These settings apply to the desktop application’s Email button, not the Outlook add-in.
Configure custom email subject
Configure custom email subject
Configure custom email body
Configure custom email body
Configure email attachment summary format
Configure email attachment summary format
List) is used.Cleaning profiles and enforcement (...\Clean\Profiles)
Configure admin cleaning profiles
Configure admin cleaning profiles
--admin-profile-editor flag, edit profiles visually, then copy the exported JSON into the Group Policy setting. If you deploy settings via Microsoft Intune, you can use the editor to generate the JSON value, but you must deploy it through your Intune configuration profile — see Configuring preferences with Microsoft Intune.--admin-profile-editor flag:- Copy the existing profile collection JSON string from Group Policy
- Open Draftable Clean with the
--admin-profile-editorflag - Import the JSON string into the admin profile editor
- Make the required changes using the visual editor
- Copy the updated JSON string back to the clipboard
- Paste the updated JSON string into the Group Policy setting to apply the changes

Configure enforced cleaning rules
Configure enforced cleaning rules
Privacy and telemetry (...\Clean\Reporting)
Configure submission of error reports
Configure submission of error reports
Configure submission of usage statistics
Configure submission of usage statistics
Local HTTP listener (...\Clean\Listener) — Computer Configuration only
Configure HTTP listener port
Configure HTTP listener port
5044) is used.