Mailroom module

hello, I wanted to add mailroom feature. it works like this:
new document(mail) is created by someone and assigned to an person, then that person should approve it or not. it should attach datetime, assigned persons and signature at end of the document.
this is the closest implementation of my idea:

An even better DMS with workflow and online file editor will be nextcloud in iframe integrated