ByteArrayDataSource byteArrayDataSource = exportReport(reportOutput, reportSchedule, htmlImageDataSources);
MailMessage mail = new MailMessage();
mail.setByteArrayDataSource(byteArrayDataSource);
mail.addHtmlImageDataSources(htmlImageDataSources);
mail.setSender(reportSchedule.getUser().getEmail());
mail.parseRecipients(reportSchedule.getRecipients());
mail.setBounceAddress(reportSchedule.getDeliveryReturnAddress());
if (reportSchedule.getScheduleDescription() != null && reportSchedule.getScheduleDescription().trim().length() > 0)