Due date styling and email alert fix