ctx.put("removedMembers", buildPrincipalsString(removedMembers));
Expression from = Scripting.newExpression("Env[\"mail.from\"]");
// join both list to remove email of directly affected members
addedMembers.addAll(removedMembers);
StringList to = buildRecipientsList(sw, addedMembers);
if (to.isEmpty()) {
log.info("No recipients found for member notification in"
+ docCtx.getSourceDocument().getId());
return;
}