hide email form and display success notification after email is sent