Fix email display bug