Implement optional warning/confirmation prompt when sending bulk mail to many recipients without using BCC: [plenty/a lot/lots of To or CC recipients: suggest/propose using BCC instead]
Categories
(Thunderbird :: Message Compose Window, enhancement, P2)
Tracking
(thunderbird_esr78 wontfix)
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | wontfix |
People
(Reporter: stpmoz, Assigned: lasana)
References
(Blocks 2 open bugs)
Details
(Keywords: privacy, uiwanted, Whiteboard: [patchlove][workaround comment 45,57])
Attachments
(2 files, 4 obsolete files)
Comment 1•20 years ago
|
||
Updated•20 years ago
|
Updated•20 years ago
|
Updated•19 years ago
|
Reporter | ||
Updated•18 years ago
|
Updated•18 years ago
|
Comment 2•17 years ago
|
||
Updated•17 years ago
|
Comment 8•16 years ago
|
||
Comment 9•16 years ago
|
||
Comment 10•15 years ago
|
||
Comment 11•15 years ago
|
||
Updated•11 years ago
|
Comment 13•11 years ago
|
||
Comment 16•10 years ago
|
||
Comment 17•10 years ago
|
||
Comment 18•10 years ago
|
||
Comment 19•10 years ago
|
||
Comment 21•9 years ago
|
||
Comment 22•9 years ago
|
||
Comment 23•9 years ago
|
||
Comment 24•9 years ago
|
||
Comment 25•9 years ago
|
||
Comment 26•9 years ago
|
||
Comment 27•9 years ago
|
||
Comment 28•9 years ago
|
||
Comment 29•9 years ago
|
||
Comment 30•9 years ago
|
||
Comment 31•9 years ago
|
||
Comment 32•9 years ago
|
||
Comment 33•9 years ago
|
||
Comment 34•9 years ago
|
||
Comment 35•9 years ago
|
||
Comment 36•9 years ago
|
||
Comment 37•9 years ago
|
||
Comment 38•9 years ago
|
||
Comment 39•9 years ago
|
||
Comment 40•8 years ago
|
||
Comment 41•8 years ago
|
||
Comment 43•8 years ago
|
||
Comment 44•8 years ago
|
||
Comment 45•7 years ago
|
||
workaround |
Comment 47•6 years ago
|
||
Comment 48•6 years ago
|
||
Comment 49•6 years ago
|
||
Comment 50•6 years ago
|
||
Comment 51•6 years ago
|
||
Comment 52•6 years ago
|
||
Comment 53•6 years ago
|
||
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment hidden (advocacy) |
Comment 58•6 years ago
|
||
workaround |
https://addons.thunderbird.net/en-US/thunderbird/addon/use-bcc-instead-c/ is another workaround, but apparently only for v64 and newer.
Comment 59•6 years ago
|
||
(In reply to Wayne Mery (:wsmwk) from comment #58)
https://addons.thunderbird.net/en-US/thunderbird/addon/use-bcc-instead-c/ is another workaround, but apparently only for v64 and newer.
It says here about this addon while trying to install:
"Not compatible with thunderbird 60.6.1"
(64bit version) on Mint Cinammon 19.1
Comment 60•6 years ago
|
||
I use 32-bit version of Thunderbird and I also need this addon or proposed patch. $ years ago aceman published workaround (in attachment). Why it is not added to thunderbird?
Comment 61•6 years ago
|
||
WIP patch with the notification bar.
Open for comments if this is the right direction and what needs polishing yet.
Comment 62•6 years ago
|
||
(In reply to Nadia from comment #60)
I use 32-bit version of Thunderbird and I also need this addon or proposed patch. $ years ago aceman published workaround (in attachment). Why it is not added to thunderbird?
Because it was deemed to not be the right solution. I have now uploaded a new one according to the requests.
Comment 63•6 years ago
|
||
Comment 64•6 years ago
|
||
Comment 65•5 years ago
|
||
10 is fairly small. maybe 15?
No. Due to GDPR the default value should be 5 + possibility of changing the value in settings.
Comment 66•5 years ago
|
||
Additionally if domains are different, the limit should be 2.
Comment 67•5 years ago
|
||
Additionally if domains are different, the limit should be 2 (max 2 different domains in "To" + "CC" fields).
Comment 68•5 years ago
|
||
@Nadia, can you back this claim with proof? I find it hard to believe the GDPR is this specific about sending emails.
Comment 69•5 years ago
|
||
(In reply to Nadia from comment #66)
Additionally if domains are different, the limit should be 2.
What? Sending an email to three members of my family, who use different freemailers, already should trigger this? I should send email as BCC to my family members? Because of GDPR????
Hundreds of mails in my inbox would match this condition. And for 99% of them, BCC is not the better option.
If you trigger this warning all the time, this will only cause people to disable the warning completely or increase the limit to 999. Better choose a reasonable default so it triggers only in cases where it is required.
10 is a good start I think.
Comment 70•5 years ago
|
||
I'd say 5 is a good start, GDPR or not. Less is overkill with too much chance BCC is not desired and thus receiving too many notifications. More than ten allows for too many e-mails to slip through.
It's too bad we don't really have any statistics. In my case maybe 95% of my e-mails have a single recipient, 4% have two to three recipients and only 1% have four or more.
Comment 71•5 years ago
|
||
Here are my personal stats. I analyzed ~ 4500 mails I sent myself since 2002, not the ones I received. This is a private email account.
5,2% of the mails I sent have more than one To-recipient, i.e. at least 2.
1% has at least 3 To-recipients
0,09% have at least 4 To-recipients
Only a single mail had 5 To-recipients (and no mail had more).
10,5% have at least one CC recipient
0,9% have at least two CC recipients
0,09% have at least three CC recipients
No mail has more than three CC recipients.
1,2% have at least one BCC recipient.
Note these statistics only consider the number of CC- or To-recipients, but do not add both. This is due to the simple grep way I used to get these numbers, it would be more complicated to get better numbers.
From these numbers, it seems a limit of 5 would have only triggered once or twice in 17 years. But I am also not somebody who is sending massmails.
I believe a corporate mail account would look a lot different, as people tend to CC their boss, colleagues, ticketing-systems and so on. I may do a statistics of a corporate mail account later.
Comment 72•5 years ago
|
||
My statistics are similar. Good will be 5 persons for personal use and work use. I only considered work related e-mail but not personal ones.
Due to GDPR will be good solution to ask during installation, how Thunderbird will be used (for work or personal stuff)?
In work related use a limit on domain count can be crucial. Sending of one e-mail to 4 clients may lead to legal isseus.
Comment 73•5 years ago
|
||
This is about avoiding unintentional mass mailings to large number of people. There is no need to have the notification for small numbers of people. Even a small project, or some mailing to say family can easily involve more than 10 people.
Comment 75•5 years ago
|
||
Since this feature is about preventing data leaks, would it not make sense to set a priority on this enhancement request? This has been open for 15 years now, think about how many people could have been warned before making a mistake.
Comment 77•5 years ago
|
||
I took over https://addons.thunderbird.net/en-US/thunderbird/addon/use-bcc-instead/ from the original author, because I used it: https://addons.thunderbird.net/en-US/thunderbird/addon/use-bcc-instead-c/
The old and new versions together have about 800 users.
My use case is sending out newsletters and announcements to members of local meeting groups. Typically I have a mailing list of 10 to 20 people and I want to avoid putting it on the TO or CC line.
The addon also has the facility to set the default recipient on the compose window to TO. I know some that people use the addon only for that.
Comment 78•5 years ago
|
||
Correction:
The addon also has the facility to set the default recipient on the compose window to BCC.
Comment 79•4 years ago
|
||
(In reply to Meteor0ID from comment #75)
Since this feature is about preventing data leaks, would it not make sense to set a priority on this enhancement request? This has been open for 15 years now, think about how many people could have been warned before making a mistake.
Absolutely. 11 duplicates are testimony, many of them recent.
(In reply to Magnus Melin [:mkmelin] from comment #73)
This is about avoiding unintentional mass mailings to large number of people.
Sounds like a must-have for enterprise deployment, might be less frequent/relevant (but still relevant) for private use.
There is no need to have the notification for small numbers of people.
What number of recipients is considered "small" (aka no warning needed) may depend much on scenario. Different users, different needs (see comment 77). There's certainly no one-for-all good number here. Definitely should have a pref which allows setting the number both higher and lower than the default which we'll ship.
(In reply to Dave Royal from comment #77)
My use case is sending out newsletters and announcements to members of local meeting groups. Typically I have a mailing list of 10 to 20 people and I want to avoid putting it on the TO or CC line.
Perfectly valid use case and thanks David for respecting the right to privacy for those small groups of yours.
Companies might need a different threshold so that they can send their internal mails to enough recipients without getting the warning.
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 80•4 years ago
|
||
Cleaned up the patch a bit, using fluent instead of string bundle, implemented the bcc transfer.
Comment 81•4 years ago
|
||
I thought it worth mentioning here that the latest incarnation of the old Use BCC Instead addon
https://addons.thunderbird.net/en-GB/thunderbird/addon/limit-non-bcc-recipients/
includes an option, which I called 'fixed limit', to disallow exceeding the limit of public recipients. It removes the 'OK' ('keep') button - your only option is to change the public recipients to BCC or return to the compose window.
My addon didn't originally have this option, though it's in the UseBCC Instead ones:
https://addons.thunderbird.net/en-GB/thunderbird/addon/use-bcc-instead/
https://addons.thunderbird.net/en-US/thunderbird/addon/use-bcc-instead-c/
I added the option - it's a bit of a kludge - at the request of someone in charge of a non-profit organisation who wanted to ensure that his staff could not accidently compromise the privacy of his clients (who were alcoholics in therapy IIRC).
So you might want to consider whether to include this option. I'm not advocating for it, and I don't know whether it's a widely used feature of my addon or the old ones (which have about 800 users in total).
Comment 82•4 years ago
|
||
Comment 83•4 years ago
•
|
||
Also, please warn if (publicAddressPills.length >= warnPublicRecipientsThreshold)
.
The threshold logic should be "warn if 15 pills or more" when the pref is set to 15.
Comment 84•4 years ago
|
||
(In reply to Dave Royal from comment #81)
option to disallow exceeding the limit of public recipients.
... a non-profit organisation who wanted to ensure that staff could not accidently compromise the privacy of clients
So you might want to consider whether to include this option.
Thanks Dave, I think that's a great idea for a followup bug!
Comment 85•4 years ago
|
||
Re pref namings: no dashes please.
For the pref about enforcing, I don't think we want that. But, we could/should make this similar to the attachment reminder which also has the attachment_reminder_aggressive pref which forces you to ok the send if in a dialog if you didn't take action.
Assignee | ||
Comment 86•4 years ago
|
||
(In reply to Thomas D. (:thomas8) from comment #82)
Comment on attachment 9211950 [details] [diff] [review]
bug271405.patchReview of attachment 9211950 [details] [diff] [review]:
I am snatching this review for now because
- I started advocating for this feature 12 years ago
- I've been working a lot on the addressing area with Alex
- This is enterprise-relevant
Magnus, you ok with this?
Comment 87•4 years ago
|
||
Well, let me take the review once you updated the patch. Most of the review comments look valid.
Assignee | ||
Comment 88•4 years ago
|
||
@@ +5047,5 @@
- let shouldNotify = addressPills.length > recipLimit;
- let notification = gComposeNotification.getNotificationWithValue(
- "manyPublicRecipientsReminder"
- );
- if (!shouldNotify) {
Pls add a comment.
About what exactly?
We should not remove the notification if we still need it, but update strings (the count) only instead (if possible), see below. If you'd always want to remove the notification, this should go above the if (!shouldNotify) check, and be removed from inside that conditional.
...
This looks very expensive wrt performance, as we'll reconstruct the entire notification every time a pill gets added or deleted. With lots of pills, > deletion via holding backspace is actually visibly slowed down with hickups.
Is it possible to create this notification outside the function once, and only update strings (including the count) via the generic fluent methods? > Then we also won't need to remove the notification if we know it's staying around.
Unfortunately I'm not a notification expert
It does not look like that is supported as far as I can tell. I think the DOM will still be modified each time so it may be better to debounce the function.
Assignee | ||
Comment 89•4 years ago
|
||
Implemented most of the feedback. Added a function to debounce display of the warning while the user is still making changes.
Comment 90•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 91•4 years ago
|
||
Assignee | ||
Comment 92•4 years ago
|
||
Un-bitrotted and debug code cleaned up, moved to phab.
Assignee | ||
Comment 93•4 years ago
|
||
Depends on D110343
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Comment 94•4 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/c1dd78a39801
Warn users about sending email to too many addresses. r=mkmelin
https://hg.mozilla.org/comm-central/rev/8e3f134f37fe
Add tests for public recipients warning. r=mkmelin
Comment 95•4 years ago
|
||
In addition to Bcc
, can users please also be referred to the Mail Merge add-on by Alexander Bergmann?
What do you think?
Thank you
Comment 96•4 years ago
|
||
That is a different use case. And we don't really advertise add-ons in our UI.
Comment 97•4 years ago
|
||
we don't really advertise add-ons in our UI.
Wasn't the Lightning add-on previously advertised until it was merged into core?
Surely the Mail Merge add-on by Alexander Bergmanncan be advertised until there is a suitable feature in core?
Otherwise, surely you can advertise the Add-ons for Thunderbird in the UI? Perhaps there could be a message to Search Add-ons for Thunderbird for how to individually send a message to a group of recipients
. Advertising and promoting Add-ons for Thunderbird is beneficial to the Thunderbird program, Add-on Developers and Thunderbird users. A real win-win-win scenario.
What do you think?
Thank you
Comment 98•4 years ago
|
||
It was never advertised no.
We have the add-on manager in the menu. I don't think there's much more we should do.
Comment 99•3 years ago
|
||
Regressions: 171245
Comment 100•3 years ago
|
||
I'd like to request that this change be backed out of the beta channel (v 89) as because of bug #1706204 it is data-loosing, so we've now got a data-loosing bug in a version that people auto-update to ! (It just bit me, with significant , real world consequences as people didn't get the message and were silently dropped from a conversation chain).
Comment 101•3 years ago
|
||
Question is there any way to turn the new warning off, or tweak the limit at which it triggers? (a quick duckduckgo did not find anything)
I understand and even appreciate why it was added, but for some workflows it just gets in the way.
As a kernel developer I regularly get emails with quite a few people in the Cc and the kernel-netiquette is to do reply-to-all so that everyone who is interested gets the entire thread without them needing to be subscribed to various lists. Moving to Bcc would break the reply-to-all.
Let me know if I should file a RFE bug to make this configurable.
Comment 102•3 years ago
|
||
Never mind, looking at the patch implementing this I see that there is a "mail.compose.warn_public_recipients.threshold" config setting for this, which answers my question.
For anyone reading along and who does not like the new warning, simply bump "mail.compose.warn_public_recipients.threshold" to a higher value, e.g. 50.
Description
•