Solution in Gmail Web App
- First, determine which naming format you will use the most from, e.g., "Uncle John" vs. "John Smith". This will be the preferred format.
- In Google Contacts set the First & Last Names to match preferred format and the File As field to match the other format.
- To send messages using the preferred format simply type in the name or email address on the appropriate line: TO/CC/BCC. Can use autocomplete when available.
- To send messages using the other format, Manually Select the Contact using the lookup functionality hyperlinked to the TO/CC/BCC labels.
+-----------------------+
| Preferred: Uncle John |
+-----------------------+
First: Uncle
Last: John
File As: John Smith
Email: [email protected]
// also acceptable //
First: Uncle John
Last:
File As: John Smith
Email: [email protected]
+-----------------------+
| Preferred: John Smith |
+-----------------------+
First: John
Last: Smith
File As: Uncle John
Email: [email protected]
Background & Further Information
Notes Around Testing & Cloud Synchronization
Gmail and and Google Contacts are cloud hosted platforms and as such you can see peculiar behavior when testing and making multiple changes related to synchronization. This applies not only to web browsers but also mobile devices. These issues may cause one to sometimes think that something doesn't work when it does and vice versa. For example, a change made in Google Contacts may not be reflected in Gmail's right away even though it purports to be directly accessing Google Contacts. If you make changes or perform tests you will need to incorporate this in your thinking and make sure to be methodical.
Elements of this Puzzle
Understanding the interplay between Gmail email addressing and Google Contacts requires acknowledging the 3 key pieces of this puzzle, including of course recipient naming, the piece that you have asked about.
- Gmail Recipient Naming
What Gmail actually encodes in the email.
- Gmail Web Client Display
What you and others see in Gmail's web client
- Non-Gmail Client Display
What non-Gmail email client display.
Gmail Web Application Only
In order to limit the additional variables and idiosyncrasies introduced by other platforms (e.g. IOS, Android, 3rd Party Client, etc.) this solution was limited specifically to the Gmail Web App only. Successfully understanding that platform affords the opportunity to then look at other platforms independently.
To reiterate, the information here is based on Gmail Web App and Google Contacts.
1. Gmail Recipient Naming
TO, CC, BCC FIELDS
Gmail's Web App provides very limited ability for you to manage the way it builds the recipient names in messages (To, CC, and BCC fields.). I have noted 3 different naming behaviors based on the route taken to add the recipient to the message.the recipient.
- Autocomplete
If you start typing the person's name or email address and allow Gmail to auto-complete, Gmail invariably encodes the recipient in the message header as:
Firstname LastName <emailaddress>
e.g. First Name: John
Last Name: Smith
File As: Uncle John
Email: joh[email protected]
To: John Smith <[email protected]>
- Create Email from Inside Contacts
If you create an email from within Google Contacts as well as in the add-in column to the right of Gmail (see image below), Gmail invariably encodes the recipient in the message header the same way as was done in case #1 above:
Firstname LastName <emailaddress>
e.g. First Name: John
Last Name: Smith
File As: Uncle John
Email: joh[email protected]
To: John Smith <[email protected]>
- Manually Select Contact
If you manually select the contact by clicking on the "To" (CC/BCC) link in a new email (instead of typing) , then select the contact from your contact list (list can be searched), it invariably encodes the recipient in the message header as:
FileAsField <emailaddress>" // Using the "File As" field from your contact
e.g. First Name: John
Last Name: Smith
File As: Uncle John
Email: john.sm[email protected]
To: Uncle John <[email protected]>
Please Note: The aforementioned information is specific to what Gmail is actually encoding in the headers, what is being rendered (displayed) to you in Gmail is covered in the next section "Gmail Web Client Display"
2. Gmail Web Client Display
FROM FIELD
- Where Gmail finds more text than simply an email address in the "FROM" field of the message headers, Gmail will display that text but leave out the email address.
- Where Gmail finds only an email address in the "FROM" field of the message headers, Gmail will display that email address but leave out the domain.
// Comparison of what's encoded in message
// header vs. what you see in Gmail web app.
encoded: From: John Smith <[email protected]>
you see: From: John Smith
encoded: From: <[email protected]>
you see: From: john.smith
encoded: From: [email protected] <[email protected]>
you see: From: [email protected]
TO, CC, BCC FIELDS
Displayed similarly to the "FROM" field with the exception that Gmail limits the display name to the first word (text prior to first space). I assume this is a crude attempt at displaying the first name.
- Where Gmail finds more text than simply an email address in any recipient field of the message headers, Gmail will display the first word of that text and leave out the email address.
- Where Gmail finds only an email address in the "FROM" field of the message headers, Gmail will display that email address but leave out the domain.
// Comparison of what's encoded in message
// header vs. what you see in Gmail web app.
// To, CC, BCC (To)
encoded: To: John Smith <[email protected]>
you see: To: John
encoded: To: Uncle John <[email protected]>
you see: To: Uncle
encoded: to: <[email protected]>
you see: to: john.smith
encoded: to: [email protected] <[email protected]>
you see: to: [email protected]
3. Non-Gmail Email Client Display
What other clients (not Gmail Web App) display to users is entirely governed by how they have decided to implement their functionality. We've already seen that Gmail Web App picks and chooses what to encode in headers and also what and how to display information that is already encoded in message headers. There is nothing stopping other email clients from doing the same or different. This goes for Gmail apps on other platforms as well as any email app on desktop PCs as well as mobile devices.
Additional Notes & Images
- Although Gmail will encode recipient name using the "File As" field using the method in "Gmail Recipient Naming" 2. Create Email from Inside Contacts, you cannot actually search for a contact from there using the "File As" value.
- You can only search for a contact by Google Contact fields "File As" and "Nickname" from within the Google Contacts
Gmail Add-In Column (To right of Gmail with link to Contacts)

Send Email link in Contact selected in Gmail Add-In Column (To right of Gmail)

Send Email link in Google Contacts)
