Extract person's academic degree from text
I would have started with a regexp to find all degrees in the email and then compare them to take the highest one (you can order them) ex. Masters > Bachelor. This might be a little bit too easy but worth try.