Fix q_query for emails.