@devnull I think to prevent delivery to a shared inbox that's also the shared inbox of someone on bto or bcc, I'd need this:
```
// get shared inboxes of private recipients
const excluded = await getSharedInboxes(privateRecipients)
// get shared inboxes unless the same as private recipients, otherwise get direct
const publicInboxes = await getSharedOrDirectInboxes(publicRecipients, { exclude: excluded })
```
HTH.