1- An alarm rule is to be setup to send an alert email to a certain 2 email addresses, one fixed and the other variable based on the patient. The alarm is to be fired when any of the patients' glucose level reach above a certain threshold (high) or below another threshold (low).
2- The variable target email address value as well as the patient's guardian mobile and name should be fetched by the thingsboards alarm rule (1) from a remote mysql database.
God's luck