Through the Matrix bridge, you can automate the sending of messages via the Matrix API. An access_token is required (available from the Element client).