called fetchemail fnc in print receipt function