MailRequestStatus status = emailer.sendSyncedMail(request);
if (status.getErrorCause() != null) {
log.error("Unable to send e-mail", status.getErrorCause());
throw new EmailerException("Unable to send e-mail", status.getErrorCause());
}
return status.isSent();
}