You can modify the chatmail relay to keep the messages, but you should probably then make it invite only so you don't just provide tons of free hosting space to random internet strangers.
Alternatively if we know more about the problem case we could develop a solution like automated encrypted backups to a cloud service or sth similar.