Fix empty email crash