fixed email submission