Gravar-mail: Design of photonic microcavities in hexagonal boron nitride