Opt-in with reply

Hello
I don’t know if the function exists, it may be a future development.
I would like to add a new mail to the database when the user replies to a mail, and not when he clicks on the link to subscribe to the mailing list.

What is the simplest way to have such a function?
What field of the database do I have to change to get to that?

Thank you very much