For file extensions i have only-office selected for ms files like docx, pptx etc. and for open formats like .odt libre-office as default. For selecting default just pick any .docx file with rightclick -> settings -> open with. My thunderbird detect my selections and opens a popup cause i selected "always ask" (see Screenshot). But i can opt for remember selected action so skip the popup and open in editor immediately.