Hello. Is there a way I can modify my script to send email of table that sorts and categorizes by Due Date? For example, if Due Date is past due date list at top of table and display row as red, if Due Date is within 2 days list at middle of table and display row as yellow, and if Due Date is within 3 days list at bottom of table and display row as green.
Screenshot below of what we're trying to achieve and of my script attached.

