This Message My Teacher Block displays a list of all Teachers for the current course page (except for the current user, if they are a teacher). Each name links to the messaging system allowing the user to quickly message their Teacher.
Note that the roles that are considered to be Teachers is this context can be configured, allowing control over who is actually displayed in the Block. In this this Course we have selected Teachers and Non-editing Teachers to be listed