# "hs\_additional\_emails" no longer working

**URL:** <https://community.hubspot.com/t/hs-additional-emails-no-longer-working/80985>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [May 11, 2023, 7:01am UTC](https://community.hubspot.com/t/hs-additional-emails-no-longer-working/80985 "2023-05-11T07:01:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jamien01](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jamien01/32/84083_2.png) [@jamien01](https://community.hubspot.com/u/jamien01)\
**Post date:** [May 11, 2023, 7:01am UTC](https://community.hubspot.com/t/hs-additional-emails-no-longer-working/80985/1 "2023-05-11T07:01:39Z")

</div>

Hi, I noticed that when searching the CRM, using the following filter is no longer working/returns zero results when I have verified that there is a match?

(The email IS in the property “hs\_additional\_emails” when I search on the primary email address. )

{

“filterGroups”: [

{

“filters”: [

{

“value”: “REDACTED”,

“propertyName”: “hs\_additional\_emails”,

“operator”: “CONTAINS\_TOKEN”

}

]

},

{

“filters”: [

{

“propertyName”: “email”,

“operator”: “EQ”,

“value”: “REDACTED”

}

]

}

],

“properties”: [

“firstname”,

“lastname”

]

}

---

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [May 11, 2023, 8:32am UTC](https://community.hubspot.com/t/hs-additional-emails-no-longer-working/80985/2 "2023-05-11T08:32:44Z")

</div>

Hello @jamien01

hs\_additional\_emails" property has been deprecated or is no longer supported by HubSpot. You may want to confirm this by checking the HubSpot documentation or reaching out to their support team.

Alternatively, you could try using the “OR” operator in your filter to search for the email in both the “hs\_additional\_emails” and “email” properties. Here is an example of what the updated filter would look like

```lia-code-sample
{
"filterGroups": [
{
"filters": [
{
"value": "REDACTED",
"propertyName": "hs_additional_emails",
"operator": "CONTAINS_TOKEN"
},
{
"propertyName": "email",
"operator": "EQ",
"value": "REDACTED"
},
{
"operator": "OR"
}
]
}
],
"properties": [
"firstname",
"lastname"
]
}

```

This should return results that match either the primary email address or the additional emails.

---

<div class="post-metadata">

**Author:** ![jamien01](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jamien01/32/84083_2.png) [@jamien01](https://community.hubspot.com/u/jamien01)\
**Post date:** [May 11, 2023, 11:01pm UTC](https://community.hubspot.com/t/hs-additional-emails-no-longer-working/80985/3 "2023-05-11T23:01:57Z")

</div>

Thanks for you reply.

Not sure if you have a typo or not but if I replace the “CONTAINS TOKEN” filter with “EQ”, using the “hs\_additional\_emails” property, it works.

And it still works when there are more than one additional email. Go figure.

I will of course check if that field will be removed at some stage.

Final:

{

“filterGroups”: [

{

“filters”: [

{

“value”: “REDACTED”,

“propertyName”: “email”,

“operator”: “EQ”

}

]

},

{

“filters”: [

{

“value”: “REDACTED”,

“propertyName”: “hs\_additional\_emails”,

“operator”: “EQ”

}

]

}

],

“properties”: [

“firstname”,

“lastname”,

“hs\_additional\_emails”

]

}
