refactoring query building on jobs
Added contractor GetInbox