In my service, when one user performs an activity, we want to send a different user a push notification to alert them. We are using segment events to trigger the push notification. in the event metadata, we send the second users email.
How can we ensure the push notification is sent to the email in the metadata?