Automated deployment of email signatures in Apple Mail

I've been looking into using AppleScript to provision and deploy email signatures in Apple Mail for macOS. But is a Mail Extension a better way of achieving this?

(For the avoidance of doubt, this isn't a question about digitally signing messages, this question is about a block of text, rich-text or HTML which is added to the end of outgoing messages during the composing by the user.)