Is it possible to have a signup form for a service directly inside an HTML email, with textboxes and buttons the user can submit?

How would this be done?

2nd question: is it possible to automatically redirect to a webpage when a user opens an email? (so the signup page can be on a separate page)