MimeMessageHelper helper = new MimeMessageHelper(message, true);
String email = (String)account.getAttributeValue(ILocalAccountPerson.ATTR_MAIL);
String subject = messageSource.getMessage(subjectMessageKey, new Object[]{}, locale);
String body = formatBody(resetUrl, account, locale);
helper.addTo(email);
helper.setText(body, true);
helper.setSubject(subject);
helper.setFrom(portalEmailAddress, messageSource.getMessage("portal.name", new Object[]{}, locale));
log.debug("Sending message to {} from {} subject {}", email,