Long-time solvability for the 2D inviscid Boussinesq equations with borderline regularity and dispersive effects