Characterising & classifying the local population of ultracool dwarfs with Gaia DR2 and EDR3