Gravar-mail: Metadata assisted image segmentation