What is the larger context--do you already have a macro that creates this email, but you need to add code to prompt the user for content? Or are you starting from scratch and don't know where to start?
The method is the same as what you did in Word. Here is a code fragment for a very simple implementation:
This does not take into account if the user wants to abort the process before he's entered all the data, and it does not validate any of the data. It assumes that you have created an email message, and sets the body text.
Bookmarks