You can use next tags in your message creation, it will be replaced for his value:
[[fullname]] (User firstname and lastname)
[[firstname]] (User firstname)
[[lastname]] (User lastname)
[[nickname]] (User alternate name)
[[username]] (Username)
[[password]] (New user password)
[[course]] (Course/s name)
[[datenow]] (Actual date)
[[date]+X] (Actual date plus X days more )
[[activities-all]] (It shows a list of all the a Shows a list of all the activities published in the course, indicating if the user has them completed or not)
[[activities-unfinished]] (It shows a list of the activities published in the course that the student has pending)