Florian's comment explains that the "Sandbox" prefix will disappear in Production.
For the senderDisplayName
and the via url part, this knowledge article explains why this is a gmail issue and not a Salesforce issue.
This is a security feature set by Gmail which displays the full email address of the sender as the name doesn't match. I believe this should go away if you reply to the email in gmail and receive another.
I would test in Outlook or another service to confirm it looks as you want as well. If replying to the email doesn't fix it in gmail, I would defer to the article for the two options below:
-
As mentioned in the Google article following a best practice of using
DKIM signing Create a DKIM Key in Salesforce combined with an SPF Sender Policy Framework (Sender Policy Framework (SPF) and Salesforce SPF Records) entry for Salesforce MTA IPs in the senders DNS should resolve the problem.
-
Another alternative could be to disable following email deliverability settings in Salesforce to remove the *bnc.salesforce.com from the
sender domain.
-Activate bounce management
-Enable compliance with standard email security mechanisms