[ActionMailer] request for feedback on #34747: Don’t log recipients when sending mail


I’m looking for feedback on my PR https://github.com/rails/rails/pull/34747:

Since production applications typically run with log level info and email adresses should be considered as sensitive data (or personal data under GDPR) we want to prevent them from ending up in the logs. In development mode (with log level debug) they are still logged as part of
the Mail::Message object.

It’s a small change but would be a nice improvement for the privacy of users of Rails applications.

Agreed. Let’s switch to Message-ID rather than the recipients list.