/**
* @param addresses
*/
public void saveRecipients( UserAccount account, InternetAddress[] addresses ) {
ContactFolder recipientFolder = getRecipientContactFolder( account );
if ( recipientFolder == null ) {
recipientFolder = new ContactFolder( ContactFolderType.RECIPIENTS );
recipientFolder.setFolderName( "Recipients" );
recipientFolder.setUserAccount( account );
saveContactFolder( recipientFolder );
}
if ( addresses != null ) {
for (InternetAddress address : addresses) {
Contact contact = getContactByEmail( recipientFolder, address.getAddress() );