Fix email deletion