Currently, the Outlook Add-In API does not provide any method to select part of the text in a composing mail:
https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/apis
- In Word, Excel, and PowerPoint this can be achieved by defining a Range and calling .select() on it
PowerPoint.TextRange
Word.Range
Excel.Range
Please see similar issue posted on Stackoverflow:
https://stackoverflow.com/questions/61639373/how-to-select-text-in-an-outlook-mail-using-the-office-js-api
Would be nice to have this feature implemented!