You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when sending an email to a topic, all the recipients are visible in the "to:" field. From data security point of view it should be better to add them to BCC so that other recipients not know each others email. Or am I missing a setting?
🎤 Pitch
MUST BE
👀 Have you spent some time to check if this issue has been raised before?
I dug into the code and found the problem in the messaging worker. To fix it, we can change the batching logic so that emails to topics are sent individually (one per recipient), keeping everyone's address private. For regular messages, it still batches for speed.
@SharanRP individual sending of emails can take a really long time, a better solution would be to send BCC only mails. we have actually merged this in our adapter library - utopia-php/messaging#95
we just need to update the code to set a default recipient (you can configure this by a new env variable), and set the to field completely empty, instead opting to only bcc field
Activity
SharanRP commentedon Sep 29, 2025
I dug into the code and found the problem in the messaging worker. To fix it, we can change the batching logic so that emails to topics are sent individually (one per recipient), keeping everyone's address private. For regular messages, it still batches for speed.
Can you assign this issue to me so I can wrap it up ? If I'm off-base here, feel free to guide me!
namandhakad712 commentedon Sep 29, 2025
I cannot assign, the repo owners could only.
SharanRP commentedon Oct 7, 2025
@tessamero can I work on this issue ?
ChiragAgg5k commentedon Oct 8, 2025
@SharanRP individual sending of emails can take a really long time, a better solution would be to send BCC only mails. we have actually merged this in our adapter library - utopia-php/messaging#95
we just need to update the code to set a default recipient (you can configure this by a new env variable), and set the
tofield completely empty, instead opting to onlybccfieldSharanRP commentedon Oct 8, 2025
Got it, that makes sense.
ooye-sanket commentedon Dec 30, 2025
Heyy all
My PR #11042 actually implements the BCC solution discussed here for batch email sending.
What it does:
setRecipients()method)Implementation:
Check it out: #11042 cc @ChiragAgg5k @SharanRP @namandhakad712