validate referrer when sending email