docs: public void addAttachment(Attachment attachment) {
          if (attachments == null || attachments == Collections.<Attachment>emptyList()) {
              attachments = new ArrayList<Attachment>();
          }
  
          attachments.add((AttachmentImpl) attachment);
      }