Creating and Editing Auto Clean Rules

Using Auto Clean, you can create rules to automatically apply almost any action to messages that meet almost any specific criteria.

This article covers the following topics:

For more information about the Auto Clean feature, please see these related articles:

Available Rule Criteria

Auto Clean rules can identify messages to be cleaned using almost any combination of the following criteria:

Available Auto Clean rule criteria
  1. Folder or Smart Folder: Optionally click the drop-down and select any regular mail folder or any Smart Folder. If you select a folder here, this Auto Clean rule will only take effect on messages in the selected folder.
  2. Sender or recipient details: Unlike the search option available under Filters (3), this tells Clean Email to look for an exact match based only on the sender or recipients. You can choose any of the following options:
    • Any sender or recipients
    • Recipients (one or more email addresses)
    • Sender (name and email address) - For example:
      Google (no-reply@accounts.google.com)
    • Email Address - For example:
      no-reply@accounts.google.com
    • Email Domain - For example:
      google.com
  1. Filters: Clean Email provides several frequently used filter options for quick access just near the Filters funnel button. You may use them or choose any combination of the following filters:
    • A text search on messages’ sender addresses, recipient addresses, and subject lines
    • Messages’ read or unread status
    • Messages’ age (e.g., Older than 6 months)
    • Messages’ size (e.g., Larger than 1 MB)
    • Additional filter options

For more information about available filters, please see Searching and Filtering.

Available Auto Clean Actions

Auto Clean rules can apply any of the following actions:

Available Auto Clean actions

For detailed descriptions of each of these actions, please see Actions Clean Email Supports.

Adding New Auto Clean Rules

The process of creating Auto Clean rules consists of two steps:

  1. Specifying Messages to Be Cleaned Automatically
  2. Choosing a Cleaning Action

Specifying Messages to Be Cleaned Automatically

In the For messages: section, select the criteria that Clean Email will use to identify the messages to be cleaned. Plan carefully, and be very specific. It is critically important to consider both of the following:

⚠️ Caution: Use caution when creating an Auto Clean rule. If the rule criteria are not specific enough, Clean Email will take the specified action on messages that you might not have expected, resulting in potentially lost messages. For more on this, please see I Am Missing Important Messages. Why?.

There are a variety of ways you can specify the messages that are to be cleaned automatically via an Auto Clean rule. Please click one of the following bookmarks to jump to the corresponding section of this article.

Specifying Messages Based on Folder or Smart Folder

If you want to clean messages found in a specific folder or Smart Folder, click the Inbox drop-down and choose the folder.

Click the Inbox drop-down

Bear in mind that the Auto Clean rule will be applied automatically (and continuously) going forward. You also have the option to apply the rule to existing messages at the time you create it.

Specifying Messages Based on Sender or Recipients

In addition to optionally specifying the messages to be cleaned based on their folder or Smart Folder, you can specify messages to be cleaned based on the sender or recipient details. Click the Any sender or recipients drop-down to control whether or not these criteria are used.

Click the Any sender or recipients drop-down
Click the Choose drop-down

Click the Choose drop-down and begin typing the email address of the recipient for whom you want Clean Email to clean future messages. Clean Email displays a list of all recipient email addresses found in your account (including variations of your main address). You can click to select as many as necessary.

⚠️ Important: When you select a recipient, the selection appears in blue below the drop-down. If you do not see the recipient’s address in blue, it has not yet been selected and will not be saved as part of the rule.
The selection appears in green below the drop-down
Select Sender name and address

Click the Choose drop-down and enter the name or email address of the sender whose messages are to be cleaned. Clean Email displays a list of all senders matching your entry, with each sender’s email address appearing in parenthesis following the sender name; click the one to be used for the rule.

Click the Choose drop-down and enter the name
⚠️ Important: When you select a sender, the selection appears in blue below the drop-down. If you do not see the sender’s name and email address address in blue, the sender has not yet been selected and will not be saved as part of the rule.
The selection appears in green below the drop-down
If you select Email Address

Click the Choose drop-down and begin typing the email address for which all messages that meet the rule’s other criteria are to be cleaned. Clean Email displays a list of matching addresses; click the one to be used for the rule.

Click the one to be used for the rule
⚠️ Important: When you select a sender, the selection appears in blue below the drop-down. If you do not see the sender’s email address in blue, the sender has not yet been selected and will not be saved as part of the rule.
The sender has not yet been selected

Specifying Messages Based on Read or Unread Status

Your Auto Clean rule can identify the messages to be cleaned based on whether or not the messages have been read. For example, you can configure the rule to only clean messages that are marked as read.

⚠️ Caution: If you choose to use the read or unread status as a criterion, it is important to choose at least one other criterion in addition to this. Otherwise, Clean Email will clean ALL messages that are read or unread. This will result in messages being cleaned that you did not intend to clean. For more information, please see our article I Am Missing Important Messages. Why?

To use the message status to help identify the messages to be cleaned, click the Unread drop-down and select the status of messages that are to be cleaned automatically.

Click the Status drop-down

Specifying Messages Based on Message Age

Another way to specify messages to be cleaned automatically is to use the age of the messages. Clean Email can automatically clean messages that are a certain age or older.

⚠️ Caution: If you choose to use the message age as a criterion, it is important to choose at least one other criterion in addition to this. Otherwise, Clean Email will clean ALL messages that reach the specified age. This will result in messages being cleaned that you did not intend to clean. For more information, please see our article I Am Missing Important Messages. Why?.

To use the message age to help identify messages to be cleaned, click first Old Mail.

Use the message age to help identify messages to be cleaned

Then, click the Old mail drop-down and select the desired age.

Click the Older than… drop-down

For example, if you select 1 month, the Auto Clean rule will look for messages that are at least one month old based on the date the message was received.

Specifying Messages Based on Message Size

You can also specify messages to be cleaned automatically using the message size, which takes into account any message attachments.

To use the message size to help identify the messages to be cleaned, click the Large Mail drop-down and select the minimum size of messages that are to be cleaned automatically. The Auto Clean rule will apply the cleaning actions (specified below) to all messages that are larger than the size you select (and which meet all other rule criteria).

Specifying messages based on message size

Using Other Filters to Specify Messages

In addition to the other criteria in the For messages section, you can use Clean Email’s standard filter options to narrow down the scope of messages to be cleaned automatically.

Click the Filters drop-down to display a list of filter options.

Using other filters to specify messages

For more information about the available filter options, please see our article Searching and Filtering.

Specifying Messages Based on a String of Text

You can also create Auto Clean rules based on a certain string of text found in the subjects, senders, or recipients of your email messages. This may be helpful if you frequently receive automated messages with identical subject lines (or variations of a subject line).

For example, suppose you subscribe to daily informed delivery notifications from the postal service, showing you images of all postal mail and packages to be delivered to your postal address each day. The subject line may be identical for these messages, or may have an identical beginning string followed by the date, e.g., “Your Daily Digest for Monday, July 18”.

To clean messages that have a common string of text like this, click the search field and enter the string of text to be used in identifying messages to be cleaned. You can copy and paste from the subject line of one of the messages, if need be. To continue the example above, you might enter Your Daily Digest.

Click the search icon

Choosing a Cleaning Action

Once you have identified the messages that are to be cleaned automatically via the Auto Clean rule, the last step is to specify how Clean Email should clean those messages.

In the Apply Action section, click Choose action….

Click Choose action…

From the drop-down menu, select the action that Clean Email will take automatically for messages that match the criteria specified in the For messages section of the Auto Clean rule.

Select the action

⚠️ Warning: When creating an Auto Clean rule, it is important to keep in mind that Clean Email will automatically apply the rule to any messages that meet the criteria you have selected in the For messages section. You will not be prompted to confirm the actions prior to execution. Use caution when creating Auto Clean rules.

⚠️ Caution: The Delete action automatically and permanently deletes all messages that meet the criteria you have selected in the For messages section. Message deletion cannot be reversed. It may be a good idea to initially create Auto Clean rules that use the Trash action rather than Delete, until you are confident that the rules are only affecting the desired messages.

For complete details of the actions available here, please see our article Actions Clean Email Supports.

Once you have chosen the cleaning action to be applied, you can click the toggle labeled Include this rule in Action History to enable or disable it; the toggle is enabled by default.

Include this rule in Action History

When this option is enabled, actions taken by this Auto Clean rule will be included in the Action History Summary notification that Clean Email sends you by email or in the application. Click to disable this option if you do not want actions associated with this rule to be included in the notification.

For more information, please see >Action History Summary.

Before finalizing the new rule, you can also choose whether or not to apply the rule to existing messages. This option is disabled by default.

Include these rules in Action History

If you click the toggle to enable this option, all existing messages that meet the rule’s criteria will be cleaned immediately upon clicking Create Rule.

In case you see a red warning message with a Continue button as pictured below, please carefully evaluate the rule criteria in the first two sections of the dialog. Ensure that the criteria are not too broad and will not result in cleaning of messages that you want to keep.

Please carefully evaluate the rule criteria

If you are certain the rule criteria are correctly configured, click Continue.

To complete rule creation, click Create Rule.

If you are certain the rule criteria are correctly configured

Editing Auto Clean Rules

You can modify existing Auto Clean rules by clicking Auto Clean in the left-hand navigation menu:

Click Auto Clean

A list of all Auto Clean rules in your account appears.

A list of all Auto Clean rules in your account appears

Enabling and Disabling Individual Rules

The toggle to the right of each rule lets you turn individual rules on or off.

Enabling and Disabling Individual Rules
The toggle to the right of each rule lets you turn individual rules on or off

Modifying Rule Settings

To modify the settings for a rule, click Edit next to the rule you want to modify.

click Edit

The rule criteria dialog appears. You can use the toggle at the top to enable or disable the selected rule.

The rule criteria dialog appears

Make the desired changes to the rule criteria–for example, updating the sender’s email address or adding additional senders–and then click Save to finish modifying the rule.

Save the desired changes to the rule
Do you have more questions?

Please contact us and we will be happy to help.