by Brad Dixon.
In relation to the second problem it seems the only problem is that mailed is not set to 0 when an assignment is regraded. Can someone point me in the direction of this code ?