Fixed imporper implmentation of queueing.
The response given by the search server when the type is 'email' can now be properly parsed by the requesting client.