code: @Override
      public void actionCommit() {
  
          List<Throwable> errors = new ArrayList<Throwable>();
  
          if (CmsStringUtil.isEmptyOrWhitespaceOnly(m_msgInfo.getTo())) {
              setCommitErrors(
                  Collections.singletonList((Throwable)new CmsIllegalStateException(
                      Messages.get().container(Messages.ERR_NO_SELECTED_USER_WITH_EMAIL_0))));
              return;
          }
          try {
              m_msgInfo.setTo(getEmailAddresses());
              m_msgInfo.sendEmail(getCms());
          } catch (Throwable t) {
              errors.add(t);
          } finally {
              m_msgInfo.setTo(getToNames());
          }
          // set the list of errors to display when saving failed
          setCommitErrors(errors);
      }
docs: Commits the edited project to the db.<p>