for member in object.getAllMembersInRole(role) :
if (member.id not in recipientIds) and member.getProperty('email') :
membersInRole.append(member)
for member in object.getAllMembersInRole(role) :
if (member.id not in recipientIds) and member.getProperty('email') :
membersInRole.append(member)