I’d be curious to see the results of Jay’s work. You might also want to take a look at https://espanso.org/
Takes a little bit of getting used to, but gives you the option of providing canned replies everywhere, simply by typing a certain combination of words/text. So you could just type hello1 and it would replace hello1 with a welcome message, regardless of whether or not you are in discourse, outlook etc.