Gravar-mail: Task-driven imaging in cone-beam computed tomography