fixed email notification