Replaced preg_match() with filter_var() to determine if a value is an e-mail address.
Replaced preg_match() with filter_var() to determine if a value is an e-mail address.

luisefabian/intercom-php,xpelliarmus/intercom-php,gwissem-mention/intercom-php,kmuenze/intercom-php,artarmstrong/intercom-php,HiTask/intercom-php,reinoudvansanten/intercom-php,JaapRood/intercom-php,gnudle/intercom-php,wakeless-net/intercom-php