Problem/Motivation

Email log entities are semantically immutable. Once an email is sent, there's nothing to revise - you can't un-send it, and the log entry should never be edited. Storing revisions for an immutable audit log is a design mismatch that wastes storage proportional to email volume, which will affect any high-traffic site using the module.

We noticed that our site has 154K email entities and 154K redundant revision rows, with an approx 7.5 GB overhead. Revision count = entity count, confirming emails are never re-saved after initial creation.

Proposed resolution

Change easy_email entities so that they are non revisionable
Write an update hook to clear any existing revision data

Comments

nicrodgers created an issue.