fixed email html stuff