Move your messaging code to Sent without duplicates.
Recent revisions are kept. Restoring one creates a new revision.