msg.setSubject("Test mail subject. Unicode: ąžuolėlį");
msg.setContentText("Let's try to write a very long message and see" +
"if it will get trimmed when preview is called. It has to " +
"be over ? chars long so it will get trimmed. Now this text " +
"is over ? chars long, it should really get trimmed good.");
msg.addTo(new EmailAddress(conf.getTestRecipient()));
client.send(msg);
log.debug("Getting messages");
final List<GmailMessage> messages = client.getUnreadMessages();
log.debug("Got " + messages.size() + " messages");