<BUG>jMe.put("id", me.getUID());</BUG><CONTEXT>List list = MailUtil.getEnvelopes(userId);JSONArray meArray = new JSONArray();for (int i = 0; i < list.size(); i++) {MailEnvelope me = (MailEnvelope)list.get(i);JSONObject jMe = new JSONObject();<extra_id_0>jMe.put("email", me.getEmail());jMe.put("subject", me.getSubject());jMe.put("date", me.getDate().toString());</CONTEXT>
jMe.put("id", me.getMsgNum());