Gravar-mail: Maximum-likelihood determination of anomalous substructures