Solved empty mail bug