got curl to send referral fees email