Email retention
Summarize
Summary of Email Retention
Email retention allows you to archive and delete email messages to manage large email tables effectively. Available from the Helsinki release, this feature utilizes the Data Archiving and Email Retention plugins. The Email Retention plugin is essential for setting rules on when to archive and delete email records.
Show less
Key Features
- Archiving and Destruction: Archiving moves records from the Email table to the Archive Email table after a defined time, while destruction deletes records in the Archive Email table after another defined period.
- Default Rules: The system archives emails older than one year and destroys archived emails older than one year, retaining records for a total of two years.
- Compatibility: If you use another email management process, you may choose not to use Email Retention. It is recommended to avoid running multiple processes simultaneously to prevent issues.
Key Outcomes
By implementing Email Retention, you can efficiently manage email records, ensuring that old emails do not clutter your system. Users will have access to sent emails for a defined period, and the system will preserve watermarks for continued email functionality. If you need to replace an existing email management process with Email Retention, consult with your professional services or sales representative.
You can archive and eventually destroy email messages that you no longer need or if your Email table is excessively large.
Email retention is available starting with the Helsinki release.
Email archive and destruction plugins
The Email Retention plugin and associated archive and destroy rules are active by default on new instances. On upgraded instances, you must manually activate both the plugin and the archive and destroy rules. ServiceNow recommends that you review and approve these rules before activating them.
If your instance already has a process to manage email records, you do not need to activate the Email Retention plugin. If you want to replace your current process with Email Retention, be sure to deactivate the current process before activating the archive and destroy rules.
Archiving and destroying email records
Archiving means moving records from the Email [sys_email] table to the Archive Email [ar_sys_email] table when they exceed the archive rule time limit. Destroying means deleting records in the Archive Email table when they exceed the destroy rule time limit.
Default archive and destroy rules
Email Retention provides this email archive rule:
Email - Over a year old or Ignored: archives email message records that were created more than 365 days prior to the current date and are of type received-ignored or sent-ignored.
Email Retention also provides this email destroy rule:
Email Archive - Over a year old: destroys email records that have been archived for more than 365 days prior to the current date.
With these default settings, your email messages are kept on the instance for a total of two years: one year in the Email table, and one year in the Email archive table. At the end of this period, the system deletes the expired email records from the Email archive table.
Compatibility with other record management implementations
If you are already using another method to manage email records, such as table cleaners, you do not have to use the Email Retention feature. To prevent unexpected record deletion, ServiceNow recommends that you avoid using multiple email management processes on the same instance at the same time.
Effects of archiving and deleting email records
Inbound email actions copy the body of an email to the work notes of the related record. If the inbound email record is later deleted, Email Received section is no longer visible in the work notes though it still contain a text copy of the email.
Archiving email records changes the methods available to the system to identify inbound email as a reply. After archiving an email record, the system can no longer use the In-Reply-To field to match an incoming email to an email record. However, the system can still match incoming email to an existing record from a record number or watermark.