email – What is the recommended way of sending dynamic content depending on form contents?

The task of my client is this: He has a wordpress site and wants to offer a service where he can send custom legal texts per mail. Depending on which single-choice the users select at a form, it should send them slightly modified texts. And afterwards it should save the emails in some sort of newsletter/funnel system to contact them.

So my idea was to

  • User fills in form
  • Save form data in database
  • Send form data or only email to mailchimp
  • User confirms email subscription
  • User gets text depended on his selection

How would you approach this? I’ve never done an email subscription with goodie thing and maybe there are some good solutions or best practices for this?