check if email is empty, iterate_query dovecot

If iterate_query returns an empty email it breaks the doveadm commands.