code: @Override
      public void sendEmail(String subject, String body) {
          if (ArrayUtils.isEmpty(this.recipientEmailAddresses)) {
              log.warn("No recipients configured - no one to notify: ignoring...");
              return;
          }
  
          SendEmailRequest email = new SendEmailRequest();
          try {
              Destination destination = new Destination();
              destination.setToAddresses(Arrays.asList(this.recipientEmailAddresses));
              email.setDestination(destination);
              email.setSource(System.getProperty("notification.sender", "no-sender-specified"));
              Message message = new Message(new Content(subject), new Body(new Content(body)));
              email.setMessage(message);
              client.sendEmail(email);
              log.info("email sent: {}", email);
          } catch (Exception e) {
              log.error("failed to send " + email + ": " + e.getMessage(), e);
          }
  
      }
docs: /* (non-Javadoc)
  @see org.duracloud.mill.notification.NotificationManager#sendEmail(java.lang.String, java.lang.String)