Mail REST API with search