removes referral_code and serial_number from email