You can download the test files I used from
http://www.gmayor.com/Forum/email_userform.zip
Extract the files from the zip. The template goes in your template folder. Import the userform and macro code to your VBA editor. It will create a new userform (frmExample) and add a module with code that works with the added userform. Delete your existing code and and it should work.
Reboot the PC before testing again.