SMS notifications security risk

Often when using 2fa it is easier to be emailed the code (although this is obviously insecure sadly it sometimes companies do it for some reason cough cough nationwide). will it be possible to set only the name of the sender to appear in the notification for text messages on the librem 5?

tasty, can you please elaborate a bit on your question to clarify your problem? Thanks.

Will text message notifications show the contents of the message in the notification?

On my Ubuntu driven BQ E4.5 when I receive a SMS, a small green envelope icon in the top icon bar shows the arrival of one (or more) SMS. I have to pull down this envelope icon to read it (in this case no unlocking PIN is asked, which I call a bug) or I have to unlock the device and go to the messages-app.