Added a function with basic templating support to ease the process of sending messages to the user.