Fixed ValueError when replying on an email