Added message text config option and changed the subject based on device type.