docs: protected BodyPart handleApplicationContentPart(MimePart applicationData, String contentType) throws IOException, MessagingException {
          if (applicationData.isMimeType("application/pdf")) {
              return handleImageBinaryPart(applicationData, contentType);
          } else if (applicationData.isMimeType("application/rtf")) {
              return handleImageBinaryPart(applicationData, contentType);
          } else if (applicationData.isMimeType("application/java")) {
              return handleTextPart(applicationData, contentType);
          } else if (applicationData.isMimeType("application/x-javascript")) {
              return handleTextPart(applicationData, contentType);
          } else if (applicationData.isMimeType("application/xhtml+xml")) {
              return handleTextPart(applicationData, contentType);
          } else if (applicationData.isMimeType("application/json")) {
              return handleTextPart(applicationData, contentType);
          } else if (applicationData.isMimeType("application/postscript")) {
              return handleTextPart(applicationData, contentType);
          } else {
              return handleBinaryPart(applicationData, contentType);
          }
      }