Handlebars isEmailAddress
Handlebars isEmailAddress: checks whether a value has the shape of an email address.
Next
Runtime verified
Test scripts included
Checks whether a value has the shape of an email address. It does not check that the mailbox or domain exists.
Syntax
{{isEmailAddress emailAddress}}
Returns boolean.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
emailAddress |
string | Yes | The email address to check. |
Example
Tested in a Marketing Cloud Next email on 2026-11-22:
{{isEmailAddress "ana.lopez@example.com"}}renderstrue, as documented.{{isEmailAddress "ana.lopez@example"}}renderstrue, as documented.{{isEmailAddress "ana@lopez@example.com"}}rendersfalse, as documented.
Show Next test script
Marketing Cloud Next
Works as documented
Every tested call rendered the documented result. Tested 2026-11-22 by rendering in a Marketing Cloud Next email.
See also
- AMPscript
IsEmailAddress— the AMPscript equivalent - Official reference