All articles

New Feature: Detect a person's first name from just an email address

Gmail Tips and Tricks·July 3, 2016·By Ajay Goel·3 min read
New Feature: Detect a person's first name from just an email address

You can now automatically detect a person’s first name just from their email address, and then use that name to personalize your email campaign. This is a world’s first for email marketers using Gmail as their email marketing platform.

The algorithm works purely by analyzing of the email address characters and doesn’t query any APIs that provide demographic data on email addresses.

I ran my test on an actual campaign to my users announcing a couple new features (but not this feature). Here’s a screen shot from my Sent folder of my own Gmail account:


The green rows indicate rows where the first name was correctly determined, while the red ones indicate an incorrect guess

As the above screen shot shows, the algorithm guessed the recipient’s first name in most cases. Only 5 out of this sampling of 50 produced an incorrect guess, and the unmarked rows are ones where the first name was impossible to guess because it wasn’t present in the email address.

How do you use it?

Just insert the personalization variable {auto-first} anywhere in your Subject or Message, and SendHustle will insert the recipient’s first name, based on the recipient’s email address.

Note that first name detection algorithm isn’t perfect — it works in approximately 90% of cases, and can only work if the actual first name is present in the local part of the email address (the part before the @ sign).

Because it’s not 100% perfect, it is not recommended that you use the {auto-first} personalization tag as a standalone personalization technique. Instead you should:

  1. Set a fallback value to use with {auto-first}. For example, use {auto-first|Customer}. That way, if SendHustle detects the first name, it will be used. If it can’t detect the first name, the fallback value of “Customer” will be used.
  2. As a further protective mechanism, and because even when the first name is present in an email address, SendHustle might not always choose the exact first name, use the “Just create Drafts” feature to preview each individual email first, before sending. That way, you can spot check the Drafts to make sure that the first names were generated properly before sending.

Fallback Values

In our Complete Guide to Personalization, you’ll learn how to set two fallback values. Let’s say you’re connecting to a spreadsheet with the columns: FirstLastEmail. And let’s say some of the values for “First” are blank. So in these cases, you want SendHustle to auto-detect the first name. But then let’s say that SendHustle is unable to auto-detect the first name in a few of these cases. You can set two fallback values using this syntax:

Hi there {FirstName|auto-first|old friend}

Combined personalization techniques
An example where the auto detected first name is a fallback value to the spreadsheet column “FirstName.” The words “old friend” are the fallback value to the auto detected first name.

The first name auto-detection feature isn’t part of the SendHustle interface yet, so you won’t find a button in the Settings Panel to insert the {auto-first} designation. You have to type it or copy/paste from this post manually into your Subject or Message. In this case, if “FirstName” has a value in your spreadsheet, it’s used. If not, SendHustle will attempt to auto-detect the first name. If SendHustle can’t auto detect the first name, then the text “old friend” will be inserted.

Ready to transform Gmail into an email marketing/cold email/mail merge tool?


Only SendHustle packs every email app into one tool — and brings it all into Gmail for you. Better emails. Tons of power. Easy to use.


TRY SendHustle FOR FREE

Download Chrome extension - 30 second install!
No credit card required
Love what you're reading? Get the latest email strategy and tips & stay in touch.

Send your next campaign from Gmail

SendHustle brings mail merge, follow-ups, and tracking right into the inbox you already use.

Start free