private void doAddMessage(@NotNull AbstractMessage message) {
    for (var listener : myListeners) {
      if (!listener.beforeEntryAdded(message)) {
        return;
      }
    }

    if (ApplicationManager.getApplication().isInternal()) {
      for (Attachment attachment : message.getAllAttachments()) {
        attachment.setIncluded(true);
      }
    }

    if (shallAddSilently(message)) {
      message.setRead(true);
    }

    message.setOnReadCallback(() -> notifyEntryRead());
    myErrors.add(message);
    notifyEntryAdded();
  }
private void doAddMessage(@NotNull AbstractMessage message)