sb.append("</multipart>\r\n");
} else if (e.getBody() instanceof MessageImpl) {
sb.append(getStructure((MessageImpl) e.getBody(), prefix, id + "_1"));
} else {
Body b = e.getBody();
String s = prefix + "_decoded_" + id
+ (b instanceof TextBody ? ".txt" : ".bin");
String tag = b instanceof TextBody ? "text-body" : "binary-body";
File f = new File(s);
sb.append("<" + tag + " name=\"" + f.getName() + "\"/>\r\n");