simple spam mail sorter, written in java