log.info("locale: "+locale);
Session session = Session.getDefaultInstance(props, null);
MimeMessage msg = new MimeMessage(session);
msg.setFrom(new InternetAddress(emailFrom));
msg.addRecipient(Message.RecipientType.TO, new InternetAddress(emailTo));
msg.setSubject(translator.inviteContact(emailFrom));
String body = htmlEngine.htmlInviteContact(locale, emailTo, emailFrom, DOMAIN, CANCEL, token);
msg.setContent(body, "text/html; charset=utf-8");
log.info("Trying to send email: "+body);
Transport.send(msg);
}