I think it is a hard problem that requires a lot of work to get right. The ancient “Google Desktop Search” from 20 years ago was probably the best email search I’ve seen. Products like that require alot of man-hours and are expensive.