Implemented getOverdueEmail() and modified the sendOverdueEmail()