Added email test
Fixed html type not working