nl_tokens: Retrieves the first domain that is eligible for Email Forwarding either from the current selected site or the list of domains .
pl_tokens: function getEligibleEmailForwardingDomain ( selectedDomainName , domains = [ ] ) { const eligibleDomains = getEmailForwardingSupportedDomains ( domains ) ; let selectedDomain ; if ( selectedDomainName ) { selectedDomain = eligibleDomains . reduce ( function ( selected , domain ) { return domain . name === selectedDomainName ? domain . name : <mask> ; } , '' ) ; } return selectedDomain || ( eligibleDomains . length && eligibleDomains [ 0 ] . name ) || '' ; }