Send Diabetic Letters

Modified query to follow a more logical path to sending letters, also
added logging to a table as opposed to printing.