code: @InterfaceAudience.Public
      public List<String> getAttachmentNames() {
          Map<String, Object> attachmentMetadata = getAttachmentMetadata();
          if (attachmentMetadata == null) {
              return new ArrayList<String>();
          }
          return new ArrayList<String>(attachmentMetadata.keySet());
      }
docs: The names of all attachments