Install libnotmuch-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libnotmuch-dev
thread-based email index, search and tagging (development)
Notmuch is a system for indexing, searching, reading, and tagging large collections of email messages in maildir or mh format. It uses the Xapian library to provide fast, full-text search with a very convenient search syntax. . This package provides the necessary development libraries and header files to allow you to develop new software using libnotmuch.