Customer Metafields In Shopify Email Custom Liquid Block?

Topic summary

A user is attempting to insert customer metafield data into Shopify Email messages using the Custom Liquid block, specifically to send unique discount codes to individual customers.

Current Challenge:

  • Shopify’s Email Personalization feature only provides access to basic customer information (name/address)
  • While tutorials exist for displaying customer metafields on store pages using Liquid, it’s unclear how to reference a specific customer’s metafields within the email builder

Key Issue:
The user found Shopify’s help documentation listing available Liquid variables for custom code blocks in emails (https://help.shopify.com/en/manual/promoting-marketing/marketing/create-marketing/shopify-email/create-email/custom-liquid#liquid-variables-supported-in-the-custom-liquid-section), but these variables don’t appear to include customer metafield access.

Status:
The discussion remains unresolved. The user suspects this functionality may not be possible and is seeking alternative approaches or confirmation from others who may have found a workaround.

Summarized with AI on November 23. AI used: claude-sonnet-4-5-20250929.

Is it possible to insert a customer metafield into a Shopify Email message using the Custom Liquid block?

I’d like to send unique discount codes to customers this way. The Email Personalization feature is very close, but it only accesses name/address info.

I have found tutorials on how to display customer metafield data using Liquid on store pages, but not sure how to specify which customer’s metafields it should be pulled from when doing this via the email builder code block.

Ideally I would include custom liquid code in the email block, and the code would point to the recipient of the email as the customer whose metafield should be accessed/displayed.

Found the help page with all the available Liquid variables for custom code blocks in email. Unless someone knows of another way to do this, I think this pretty much means this idea isn’t possible.

So frustrating as all pieces are right there, but no way to connect them.