Handlebars Helper Function: isEmailAddress

Tests whether an email address is structurally valid.

This helper doesn’t verify that an email address or domain exists. It only checks whether the supplied address aligns with the standardized structure of an email address.

This helper is available in the Winter ’27 release of Marketing Cloud Next.

ParameterTypeDescription
emailAddressStringRequired. The email address to test.

The function returns true if emailAddress is structurally valid. Otherwise, it returns false.

This example checks whether an email address is structurally valid.

The function returns true.

This table lists results for several other examples, and explains why an example returns true or false.

Function CallResultNotes
{{isEmailAddress "pooja.chatterjee@example.com"}}true
{{isEmailAddress "pooja.chaterjee@example"}}trueAn email domain can omit a top-level domain, such as .com.
{{isEmailAddress "pooja.chatterjeeexample.com"}}falseThis address is missing an at sign.
{{isEmailAddress "pooja@chatterjee@example.com"}}falseThis address contains two at signs.
{{isEmailAddress "@example.com"}}falseThis address is missing the local part, which appears before the at sign.
{{isEmailAddress "pooja.chatterjee@.com"}}falseThis address is missing a second-level domain.