The reason you are getting an error message is that you can't use subqueries before version 4.1
You can do this with a join though:
Code:
SELECT oldemailaddress
FROM oldtable AS old
LEFT OUTER JOIN
newtable as new
ON old.oldemailaddress = new.newemailaddress
WHERE new.newemailaddress IS NOT NULL