Yes, it should.
However, you can have the email directly only if it is included in your posts table, which you should avoid .
You have to loop through your result set and do single lookup s with the IDs.
Or , if your version of MySql supports sub-selects, you can do:
select IDUser, email from users
where IDuser in (
select IDUser from users
minus
select IDUser from posts )
(I don't know if any version of MySql is able to do this).