You would need to have a webform that posts to a cgi script on your server, and have that send the email.
As for making the form, you can use two objects, the Text Box and Text objects. To do the accessing of the cgi script, you need to use the Browser object.